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)
Sun, Oct 27, 3:05 PM
Unknown Object (File)
Sun, Oct 20, 3:16 PM
Unknown Object (File)
Oct 5 2024, 4:19 AM
Unknown Object (File)
Oct 5 2024, 3:42 AM
Unknown Object (File)
Oct 5 2024, 3:42 AM
Unknown Object (File)
Sep 30 2024, 1:19 PM
Unknown Object (File)
Sep 30 2024, 11:32 AM
Unknown Object (File)
Sep 28 2024, 9:12 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