Page MenuHomeFreeBSD

lockmgr: upgrade panic return checks
ClosedPublic

Authored by mhorne on Feb 17 2023, 7:54 PM.
Tags
None
Referenced Files
F154070723: D38655.diff
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
Unknown Object (File)
Feb 16 2026, 2:46 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