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
F151633254: D21310.id60960.diff
Thu, Apr 9, 3:55 PM
Unknown Object (File)
Wed, Apr 8, 9:50 PM
Unknown Object (File)
Wed, Apr 8, 1:22 PM
Unknown Object (File)
Wed, Apr 8, 3:02 AM
Unknown Object (File)
Tue, Apr 7, 6:07 AM
Unknown Object (File)
Sun, Mar 29, 8:52 PM
Unknown Object (File)
Sun, Mar 29, 1:13 AM
Unknown Object (File)
Tue, Mar 17, 6:00 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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