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)
Sun, Mar 1, 9:53 AM
Unknown Object (File)
Sun, Mar 1, 12:39 AM
Unknown Object (File)
Feb 7 2026, 6:43 PM
Unknown Object (File)
Feb 2 2026, 2:09 AM
Unknown Object (File)
Jan 24 2026, 11:02 PM
Unknown Object (File)
Jan 12 2026, 11:56 PM
Unknown Object (File)
Dec 26 2025, 10:17 AM
Unknown Object (File)
Dec 2 2025, 5:58 PM
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