Page MenuHomeFreeBSD

Let swp_pager_getswapspace manage request resizing
ClosedPublic

Authored by dougm on May 10 2019, 3:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 8:37 PM
Unknown Object (File)
Thu, Apr 4, 8:31 PM
Unknown Object (File)
Feb 21 2024, 12:49 AM
Unknown Object (File)
Dec 21 2023, 12:13 PM
Unknown Object (File)
Dec 19 2023, 7:49 PM
Unknown Object (File)
Sep 6 2023, 4:08 PM
Unknown Object (File)
Aug 19 2023, 1:03 PM
Unknown Object (File)
Aug 8 2023, 3:42 PM
Subscribers

Details

Summary

Callers of swp_pager_getswapspace get either as many blocks as they requested, or none, and in the latter case it is up to them to pick a smaller request to make - which they always do by halving the failed request. This change to swp_pager_getswapspace leaves the task of downsizing the request to the function and not its caller. It still does so by halving the original request.

Diff Detail

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