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)
Wed, Nov 27, 9:35 AM
Unknown Object (File)
Wed, Nov 27, 9:35 AM
Unknown Object (File)
Wed, Nov 27, 9:33 AM
Unknown Object (File)
Wed, Nov 27, 9:13 AM
Unknown Object (File)
Mon, Nov 18, 8:15 AM
Unknown Object (File)
Oct 27 2024, 3:05 PM
Unknown Object (File)
Oct 20 2024, 3:16 PM
Unknown Object (File)
Oct 5 2024, 4:19 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 Not Applicable
Unit
Tests Not Applicable