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 Sep 9 2020, 4:13 PM
Parents
rG278847ae5828: ggate: Fix ggated/ggatec debug print of offsets.
Branches
Unknown
Tags
Unknown

Event Timeline