mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
In vm_daemon(), do not skip processes stopped with SIGSTOP.
This commit is contained in:
parent
099e7e950f
commit
f497cda257
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220387
@ -1303,7 +1303,8 @@ vm_pageout_oom(int shortage)
|
||||
thread_lock(td);
|
||||
if (!TD_ON_RUNQ(td) &&
|
||||
!TD_IS_RUNNING(td) &&
|
||||
!TD_IS_SLEEPING(td)) {
|
||||
!TD_IS_SLEEPING(td) &&
|
||||
!TD_IS_SUSPENDED(td)) {
|
||||
thread_unlock(td);
|
||||
breakout = 1;
|
||||
break;
|
||||
@ -1679,7 +1680,8 @@ vm_daemon()
|
||||
thread_lock(td);
|
||||
if (!TD_ON_RUNQ(td) &&
|
||||
!TD_IS_RUNNING(td) &&
|
||||
!TD_IS_SLEEPING(td)) {
|
||||
!TD_IS_SLEEPING(td) &&
|
||||
!TD_IS_SUSPENDED(td)) {
|
||||
thread_unlock(td);
|
||||
breakout = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user