mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
This commit is contained in:
parent
1b4701fe1e
commit
2d5ef216b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue