HomeFreeBSD

kern: malloc: fix panic on M_WAITOK during THREAD_NO_SLEEPING()

Description

kern: malloc: fix panic on M_WAITOK during THREAD_NO_SLEEPING()

Simple condition flip; we wanted to panic here after epoch_trace_list().

Reviewed by: glebius, markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D29125

Details

Provenance
kevansAuthored on Mar 8 2021, 6:16 AM
Reviewer
glebius
Differential Revision
D29125: kern: malloc: fix panic on M_WAITOK during THREAD_NO_SLEEPING()
Parents
R10:e80e371d79d8: if_wg: avoid sleeping under the net epoch
Branches
Unknown
Tags
Unknown