Page MenuHomeFreeBSD

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

Authored by markj on Nov 12 2024, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 7:48 PM
Unknown Object (File)
Mon, Apr 27, 7:36 PM
Unknown Object (File)
Thu, Apr 23, 1:17 AM
Unknown Object (File)
Wed, Apr 22, 9:08 PM
Unknown Object (File)
Tue, Apr 21, 11:40 AM
Unknown Object (File)
Tue, Apr 7, 12:45 AM
Unknown Object (File)
Sun, Apr 5, 11:03 AM
Unknown Object (File)
Sat, Apr 4, 5:45 AM
Subscribers

Details

Summary

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).

Reported by: pho

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Nov 12 2024, 3:02 PM

Is this related to the KASSERT that was recently added to vm_object_terminate_single_page?

In D47526#1084075, @alc wrote:

Is this related to the KASSERT that was recently added to vm_object_terminate_single_page?

Yes, Peter was able to trigger the assertion using a swapoff test.

This revision is now accepted and ready to land.Nov 12 2024, 11:21 PM