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
F174569033: D47526.diff
Sun, Oct 4, 6:25 AM
F174569026: D47526.diff
Sun, Oct 4, 6:25 AM
Unknown Object (File)
Fri, Oct 2, 5:40 PM
Unknown Object (File)
Fri, Oct 2, 10:46 AM
Unknown Object (File)
Thu, Oct 1, 12:11 AM
Unknown Object (File)
Wed, Sep 30, 11:44 PM
Unknown Object (File)
Wed, Sep 30, 11:09 PM
Unknown Object (File)
Wed, Sep 30, 7:07 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