HomeFreeBSD

alq, siftr: add panic/debugger checks to shutdown hooks

Description

alq, siftr: add panic/debugger checks to shutdown hooks

Don't try to gracefully terminate the pkt_manager thread if the
scheduler is not running.

We should not attempt to shutdown ald if RB_NOSYNC is set, and must not
if the scheduler is stopped (the function calls wakeup()).

Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42340

Details

Provenance
mhorneAuthored on Nov 23 2023, 3:25 PM
Reviewer
markj
Differential Revision
D42340: alq, siftr: add panic/debugger checks to shutdown hooks
Parents
rG41e26e8288f1: powerpc: better handling of shutdown flags
Branches
Unknown
Tags
Unknown