Page MenuHomeFreeBSD

Allow calls to vm_pager_haspages with the object read locked
ClosedPublic

Authored by jeff on Aug 18 2019, 8:44 AM.
Tags
None
Referenced Files
F132999911: D21310.diff
Tue, Oct 21, 10:59 PM
Unknown Object (File)
Sat, Oct 18, 2:29 PM
Unknown Object (File)
Sat, Oct 18, 2:29 PM
Unknown Object (File)
Sat, Oct 18, 3:11 AM
Unknown Object (File)
Fri, Oct 17, 4:54 PM
Unknown Object (File)
Tue, Oct 14, 5:31 AM
Unknown Object (File)
Sep 14 2025, 9:10 AM
Unknown Object (File)
Aug 23 2025, 1:38 AM
Subscribers

Details

Summary

Only the vnode pager required the exclusive lock and only because it wanted to drop and reacquire. I added macros to automate this which will likely be useful elsewhere as we do more read locking of objects.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25942
Build 24503: arc lint + arc unit

Event Timeline

jeff retitled this revision from Allow read locked objects to call has_pages to Allow calls to vm_pager_haspages with the object read locked.Aug 18 2019, 8:46 AM
jeff edited the summary of this revision. (Show Details)
jeff added reviewers: kib, markj.
This revision is now accepted and ready to land.Aug 19 2019, 4:02 PM