]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
weed_inhib(): correct the condition to re-suspend a thread
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 10 May 2022 23:37:58 +0000 (02:37 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 13 Jun 2022 19:30:03 +0000 (22:30 +0300)
commitdd883e9a7e8045d86774fa3f944b53a4f78d0fd0
tree6329308a6dcd520469f0222003441ea0ce5445f2
parentb9893b353312cc3c75a0ab2ff7ca69dc55864bea
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
sys/kern/kern_thread.c