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, Jan 17, 10:21 PM
Unknown Object (File)
Dec 5 2024, 11:39 PM
Unknown Object (File)
Dec 5 2024, 6:37 PM
Unknown Object (File)
Nov 25 2024, 11:57 PM
Unknown Object (File)
Nov 21 2024, 12:37 PM
Unknown Object (File)
Nov 18 2024, 8:11 PM
Unknown Object (File)
Nov 8 2024, 8:17 AM
Unknown Object (File)
Oct 16 2024, 12:54 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.