Update a stale comment. The heuristic to swap processes out based on

the number of pages already paged out was broken in rev 1.10 and
removed in rev 1.11.
This commit is contained in:
das 2004-06-27 01:58:12 +00:00
parent fc2f6ee069
commit 2aabb5e466

View File

@ -1029,8 +1029,9 @@ retry:
}
/*
* If the process has been asleep for awhile and had
* most of its pages taken away already, swap it out.
* If the pageout daemon didn't free enough pages,
* or if this process is idle and the system is
* configured to swap proactively, swap it out.
*/
if ((action & VM_SWAP_NORMAL) ||
((action & VM_SWAP_IDLE) &&