Page MenuHomeFreeBSD

LinuxKPI: lockdep add lockdep_assert_not_held()
ClosedPublic

Authored by bz on Feb 9 2022, 12:04 PM.
Tags
None
Referenced Files
F167046062: D34232.id102816.diff
Tue, Aug 18, 7:06 PM
Unknown Object (File)
Wed, Aug 12, 7:36 AM
Unknown Object (File)
Tue, Aug 11, 5:04 PM
Unknown Object (File)
Tue, Aug 11, 2:05 PM
Unknown Object (File)
Mon, Aug 10, 10:26 AM
Unknown Object (File)
Mon, Aug 10, 10:04 AM
Unknown Object (File)
Sun, Jul 26, 10:01 AM
Unknown Object (File)
Fri, Jul 24, 3:34 PM

Details

Summary

Add lockdep_assert_not_held() asserting LA_UNLOCKED as needed by a
driver.

MFC after: 3 days

Diff Detail

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

Event Timeline

bz requested review of this revision.Feb 9 2022, 12:04 PM

Looks good.

FYI: Beware that Linux sometimes put different meaning into the word held, like any process has locked mutex and not only calling process like in FreeBSD.

Looks good.

Is that an accept?

FYI: Beware that Linux sometimes put different meaning into the word held, like any process has locked mutex and not only calling process like in FreeBSD.

Thanks for the hint. I am thankful for the reviews as they catch these things and I learn. Thank you!

@hselasky can I take the "Looks good" as an accept?

This revision is now accepted and ready to land.Feb 15 2022, 8:54 AM
This revision was automatically updated to reflect the committed changes.