Page MenuHomeFreeBSD

LinuxKPI: lockdep add lockdep_assert_not_held()
ClosedPublic

Authored by bz on Feb 9 2022, 12:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 8:17 AM
Unknown Object (File)
Wed, Oct 16, 12:54 PM
Unknown Object (File)
Tue, Oct 15, 7:30 PM
Unknown Object (File)
Sun, Oct 13, 2:14 PM
Unknown Object (File)
Oct 12 2024, 5:08 AM
Unknown Object (File)
Oct 10 2024, 10:01 PM
Unknown Object (File)
Oct 10 2024, 8:38 AM
Unknown Object (File)
Oct 8 2024, 10:01 PM

Details

Summary

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

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.