Page MenuHomeFreeBSD

Get rid of rctl_lock.
ClosedPublic

Authored by trasz on Apr 11 2016, 2:56 PM.
Tags
None
Referenced Files
F131695456: D5914.diff
Fri, Oct 10, 10:16 AM
Unknown Object (File)
Sat, Oct 4, 4:56 PM
Unknown Object (File)
Sat, Oct 4, 12:43 PM
Unknown Object (File)
Tue, Sep 30, 11:58 PM
Unknown Object (File)
Wed, Sep 17, 2:58 PM
Unknown Object (File)
Tue, Sep 16, 11:16 PM
Unknown Object (File)
Thu, Sep 11, 6:37 AM
Unknown Object (File)
Sep 6 2025, 2:13 AM
Subscribers

Details

Summary

Get rid of rctl_lock, using racct_lock where appropriate. The fast paths
already required both of them.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3299
Build 3333: arc lint + arc unit

Event Timeline

trasz retitled this revision from to Get rid of rctl_lock..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

It seems it should work.

Is this a step towards fine-grained locking?

Could you mark it accepted?

As for the fine-grained locking - not yet. It's just simplification; having two locks like this just doesn't buy us anything.

mjg edited edge metadata.
This revision is now accepted and ready to land.Apr 20 2016, 9:50 PM
This revision was automatically updated to reflect the committed changes.