Page MenuHomeFreeBSD

lockmgr: upgrade panic return checks
ClosedPublic

Authored by mhorne on Feb 17 2023, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 3:42 PM
Unknown Object (File)
Sat, Apr 25, 10:45 PM
Unknown Object (File)
Mon, Apr 20, 12:00 PM
Unknown Object (File)
Wed, Apr 15, 9:58 AM
Unknown Object (File)
Tue, Apr 14, 12:33 AM
Unknown Object (File)
Sat, Apr 11, 11:46 AM
Unknown Object (File)
Mon, Apr 6, 7:52 AM
Unknown Object (File)
Mar 18 2026, 12:22 AM
Subscribers

Details

Summary

We short-circuit lockmgr functions in the face of a kernel panic. Other
lock implementations do this with a SCHEDULER_STOPPED() check, which
covers the additional case where the debugger is active but the system
has not panicked. Update this code to match that behaviour.

Diff Detail

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