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)
Fri, Sep 11, 10:07 PM
Unknown Object (File)
Fri, Sep 11, 10:13 AM
Unknown Object (File)
Wed, Sep 9, 10:46 PM
Unknown Object (File)
Sun, Sep 6, 12:50 PM
Unknown Object (File)
Sun, Sep 6, 4:56 AM
Unknown Object (File)
Sat, Sep 5, 8:00 PM
Unknown Object (File)
Sat, Sep 5, 8:00 PM
Unknown Object (File)
Sat, Sep 5, 6:40 PM
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.