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)
Sat, May 23, 2:37 AM
Unknown Object (File)
Mon, May 11, 10:35 PM
Unknown Object (File)
Mon, May 11, 10:35 PM
Unknown Object (File)
Mon, May 11, 9:43 PM
Unknown Object (File)
May 3 2026, 1:17 AM
Unknown Object (File)
May 2 2026, 12:01 PM
Unknown Object (File)
Apr 27 2026, 3:42 PM
Unknown Object (File)
Apr 25 2026, 10:45 PM
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 Not Applicable
Unit
Tests Not Applicable