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)
Sun, May 19, 4:24 AM
Unknown Object (File)
Mar 4 2024, 8:09 AM
Unknown Object (File)
Feb 23 2024, 11:53 PM
Unknown Object (File)
Dec 20 2023, 7:19 AM
Unknown Object (File)
Dec 18 2023, 4:05 PM
Unknown Object (File)
Oct 16 2023, 9:16 AM
Unknown Object (File)
Jul 15 2023, 9:19 AM
Unknown Object (File)
May 30 2023, 10:44 AM

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.