Page MenuHomeFreeBSD

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

Authored by markj on Tue, Nov 12, 3:02 PM.
Tags
None
Referenced Files
F102669973: D47526.id146354.diff
Fri, Nov 15, 3:26 PM
F102663225: D47526.diff
Fri, Nov 15, 1:02 PM
F102605828: D47526.id.diff
Thu, Nov 14, 5:05 PM
Unknown Object (File)
Thu, Nov 14, 3:21 PM
Unknown Object (File)
Thu, Nov 14, 1:39 AM
Unknown Object (File)
Wed, Nov 13, 2:24 PM
Unknown Object (File)
Wed, Nov 13, 10:06 AM
Unknown Object (File)
Wed, Nov 13, 9:59 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60502
Build 57386: arc lint + arc unit

Event Timeline

markj requested review of this revision.Tue, Nov 12, 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.Tue, Nov 12, 11:21 PM