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)
Fri, Dec 26, 10:17 AM
Unknown Object (File)
Tue, Dec 2, 5:58 PM
Unknown Object (File)
Nov 4 2025, 3:02 PM
Unknown Object (File)
Nov 4 2025, 2:56 PM
Unknown Object (File)
Nov 4 2025, 2:50 PM
Unknown Object (File)
Nov 4 2025, 2:49 PM
Unknown Object (File)
Nov 3 2025, 10:45 PM
Unknown Object (File)
Oct 27 2025, 1: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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60502
Build 57386: arc lint + arc unit

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