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)
Wed, Nov 26, 12:24 AM
Unknown Object (File)
Thu, Nov 20, 10:33 PM
Unknown Object (File)
Thu, Nov 20, 10:32 PM
Unknown Object (File)
Thu, Nov 20, 10:31 PM
Unknown Object (File)
Thu, Nov 20, 10:31 PM
Unknown Object (File)
Thu, Nov 20, 10:20 PM
Unknown Object (File)
Sun, Nov 16, 5:58 PM
Unknown Object (File)
Sun, Nov 9, 6:37 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