HomeFreeBSD

In r354148 the goal was to check THREAD_CAN_SLEEP() only once for the

Description

In r354148 the goal was to check THREAD_CAN_SLEEP() only once for the
purpose of epoch_trace() and for calling subsequent panic, but to keep
code fully under INVARIANTS, so don't use bare function call to panic().
However, at the last stage of review a true value slipped in, while
always false was assumed. I checked that in email archive with kib@.

Noticed by: trasz

Details

Provenance
glebiusAuthored on
Parents
rS365503: MFC r365262:
Branches
Unknown
Tags
Unknown