1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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:
David Schultz 2004-06-27 01:58:12 +00:00
parent 1393f9061e
commit 17d9d0d049
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131163

View File

@ -1029,8 +1029,9 @@ int action;
}
/*
* 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) &&