git: 64717c01485f - stable/13 - thread_single_end(): consistently maintain p_boundary_count for ALLPROC mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jun 2022 19:37:04 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=64717c01485ff440b625d36bc1720fb568f785b1 commit 64717c01485ff440b625d36bc1720fb568f785b1 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-06-09 04:17:32 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-06-24 14:45:46 +0000 thread_single_end(): consistently maintain p_boundary_count for ALLPROC mode (cherry picked from commit 2d5ef216b679e0a8d9958f8ce2e2bfc021f5d252) --- 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 37aaa0b02bd0..f7abb9f6f1fe 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -1661,7 +1661,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); }