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:
parent
1393f9061e
commit
17d9d0d049
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131163
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user