HomeFreeBSD

weed_inhib(): correct the condition to re-suspend a thread

Description

weed_inhib(): correct the condition to re-suspend a thread

suspended for SINGLE_ALLPROC mode. There is no need to check for
boundary state. It is only required to see that the suspension comes
from the ALLPROC mode.

In collaboration with: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D35310

Details

Provenance
kibAuthored on May 10 2022, 11:37 PM
Reviewer
markj
Differential Revision
D35310: Set of fixes for REAP_KILL_SUBTREE
Parents
rGb9893b353312: weed_inhib(): do not double-suspend already suspended thread if the loop…
Branches
Unknown
Tags
Unknown