In vm_daemon(), do not skip processes stopped with SIGSTOP.

This commit is contained in:
trasz 2011-04-06 16:27:04 +00:00
parent 71afa1f865
commit 440cd5face

View File

@ -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;