git: 2d5ef216b679 - main - thread_single_end(): consistently maintain p_boundary_count for ALLPROC mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Jun 2022 19:33:37 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=2d5ef216b679e0a8d9958f8ce2e2bfc021f5d252 commit 2d5ef216b679e0a8d9958f8ce2e2bfc021f5d252 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-06-09 04:17:32 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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); }