Page MenuHomeFreeBSD

Relax the locking requirements for vm_object_page_noreuse()
ClosedPublic

Authored by alc on Mar 15 2017, 12:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 8:26 PM
Unknown Object (File)
Fri, Apr 17, 7:33 AM
Unknown Object (File)
Apr 11 2026, 11:11 PM
Unknown Object (File)
Apr 11 2026, 11:08 PM
Unknown Object (File)
Apr 10 2026, 4:19 AM
Unknown Object (File)
Apr 6 2026, 9:37 AM
Unknown Object (File)
Apr 6 2026, 5:03 AM
Unknown Object (File)
Apr 5 2026, 5:56 AM
Subscribers
None

Details

Summary

While reviewing all uses of OFF_TO_IDX(), I observed that vm_object_page_noreuse() is requiring an exclusive lock on the object when, in fact, a shared lock suffices.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Mar 15 2017, 12:31 PM
This revision was automatically updated to reflect the committed changes.