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
Unknown Object (File)
Dec 20 2023, 2:23 AM
Unknown Object (File)
Oct 6 2023, 5:27 AM
Unknown Object (File)
Sep 16 2023, 7:58 PM
Unknown Object (File)
Sep 16 2023, 7:58 PM
Unknown Object (File)
Sep 16 2023, 7:58 PM
Unknown Object (File)
Sep 15 2023, 4:03 PM
Unknown Object (File)
Aug 2 2023, 6:17 PM
Unknown Object (File)
Jul 15 2023, 10:15 PM
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