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)
Thu, Sep 25, 12:22 AM
Unknown Object (File)
Sep 15 2025, 2:21 PM
Unknown Object (File)
Sep 3 2025, 1:39 PM
Unknown Object (File)
Jul 30 2025, 6:05 PM
Unknown Object (File)
Jul 11 2025, 5:44 AM
Unknown Object (File)
Jul 8 2025, 9:43 PM
Unknown Object (File)
Jun 23 2025, 1:32 AM
Unknown Object (File)
May 31 2025, 11:30 AM
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