The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2d5ef216b679e0a8d9958f8ce2e2bfc021f5d252

commit 2d5ef216b679e0a8d9958f8ce2e2bfc021f5d252
Author:     Mark Johnston <[email protected]>
AuthorDate: 2022-06-09 04:17:32 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2022-06-13 19:30:03 +0000

    thread_single_end(): consistently maintain p_boundary_count for ALLPROC mode
    
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 week
    Differential revision:  https://reviews.freebsd.org/D35310
---
 sys/kern/kern_thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 98e1afddc08e..b00cd2b3c695 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1673,7 +1673,7 @@ thread_single_end(struct proc *p, int mode)
                        thread_lock(td);
                        if (TD_IS_SUSPENDED(td)) {
                                wakeup_swapper |= thread_unsuspend_one(td, p,
-                                   mode == SINGLE_BOUNDARY);
+                                   true);
                        } else
                                thread_unlock(td);
                }

Reply via email to