Page MenuHomeFreeBSD

drop swp_pager_getswapspace parameter
ClosedPublic

Authored by dougm on Feb 23 2020, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 9 2024, 3:06 AM
Unknown Object (File)
Dec 28 2023, 6:43 AM
Unknown Object (File)
Nov 14 2023, 9:06 PM
Unknown Object (File)
Oct 10 2023, 12:03 AM
Unknown Object (File)
Aug 16 2023, 5:12 AM
Unknown Object (File)
Aug 16 2023, 4:56 AM
Unknown Object (File)
Aug 16 2023, 2:43 AM
Unknown Object (File)
Aug 2 2023, 4:59 PM
Subscribers

Details

Summary

The last argument to swp_pager_getswapspace is always 1. Remove that argument.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
sys/vm/swap_pager.c
760 ↗(On Diff #68722)

You might assert that *io_npages >= 1.

This revision is now accepted and ready to land.Feb 23 2020, 9:48 PM