HomeFreeBSD

With INVARIANTS panic immediately if M_WAITOK is requested in a

Description

With INVARIANTS panic immediately if M_WAITOK is requested in a
non-sleepable context. Previously only _sleep() would panic.
This will catch misuse of M_WAITOK at development stage rather
than at stress load stage.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D26027

Details

Provenance
glebiusAuthored on
Reviewer
markj
Differential Revision
D26027: Catch illegal M_WAITOK immediately.
Parents
rS364309: Extend EIIOE field handling according to ses4r5 draft.
Branches
Unknown
Tags
Unknown