HomeFreeBSD

swap_pager: Ensure that swapoff puts swapped-in pages in page queues

Description

swap_pager: Ensure that swapoff puts swapped-in pages in page queues

Readahead/behind pages are handled by the swap pager, but the get_pages
caller is responsible for putting fetched pages into queues (or wiring
them beforehand).

Note that the VM object lock prevents the newly queued page from being
immediately reclaimed in the window before it is marked dirty by
swap_pager_swapoff_object().

Reported by: pho
Tested by: pho
Reviewed by: dougm, alc, kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D47526

Details

Provenance
markjAuthored on Wed, Nov 13, 2:02 PM
Reviewer
dougm
Differential Revision
D47526: swap_pager: Ensure that swapoff puts swapped-in pages in page queues
Parents
rGb210c33a91ee: mv: Type and style nits.
Branches
Unknown
Tags
Unknown