HomeFreeBSD

MFC r313853,r313859:

Description

MFC r313853,r313859:

locks: remove SCHEDULER_STOPPED checks from primitives for modules

They all fallback to the slow path if necessary and the check is there.

This means a panicked kernel executing code from modules will be able to
succeed doing actual lock/unlock, but this was already the case for core code
which has said primitives inlined.

Introduce SCHEDULER_STOPPED_TD for use when the thread pointer was already read

Sprinkle in few places.

Details

Provenance
mjgAuthored on
Parents
rS315385: MFC r314548: Completely skip cache flushing for not supporting log devices.
Branches
Unknown
Tags
Unknown