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)
Tue, Nov 18, 8:24 PM
Unknown Object (File)
Sun, Nov 9, 11:07 PM
Unknown Object (File)
Sun, Nov 9, 11:29 AM
Unknown Object (File)
Sun, Nov 9, 2:30 AM
Unknown Object (File)
Wed, Nov 5, 10:08 AM
Unknown Object (File)
Oct 21 2025, 2:18 AM
Unknown Object (File)
Oct 12 2025, 7:37 AM
Unknown Object (File)
Oct 10 2025, 9:26 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