Page MenuHomeFreeBSD

LinuxKPi: idr: use macros for lock idr lock operations
Needs ReviewPublic

Authored by bz on Fri, Feb 20, 2:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 25, 9:25 PM
Unknown Object (File)
Wed, Feb 25, 11:47 AM
Unknown Object (File)
Wed, Feb 25, 9:37 AM
Unknown Object (File)
Wed, Feb 25, 7:19 AM
Unknown Object (File)
Wed, Feb 25, 2:33 AM
Unknown Object (File)
Wed, Feb 25, 2:03 AM
Unknown Object (File)
Tue, Feb 24, 5:37 AM
Unknown Object (File)
Mon, Feb 23, 7:46 AM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

Our idr implementation is using a mtx lock which in the past has
already caused problems (613723bac219c).
In order to make it easier to tackle the problem start by factoring
out all the operations related to the idr->lock into macros as we
have often done in other parts of code as well.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70810
Build 67693: arc lint + arc unit