]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Changes to make the OOM killer much more effective:
authorsilby <silby@FreeBSD.org>
Tue, 19 Feb 2002 18:34:02 +0000 (18:34 +0000)
committersilby <silby@FreeBSD.org>
Tue, 19 Feb 2002 18:34:02 +0000 (18:34 +0000)
commitd2e8b2531b7bad266bd3129197e12bb0a24fecdc
tree0422c97f5c3abd970e82918ecba7ad8cb7fa7b7f
parent3ea171f473051ad2c791ce153547748bd57b3bb5
Changes to make the OOM killer much more effective:

- Allow the OOM killer to target processes currently locked in
  memory.  These very often are the ones doing the memory hogging.
- Drop the wakeup priority of processes currently sleeping while
  waiting for their page fault to complete.  In order for the OOM
  killer to work well, the killed process and other system processes
  waiting on memory must be allowed to wakeup first.

Reviewed by: dillon
MFC after: 1 week
sys/vm/vm_fault.c
sys/vm/vm_page.c
sys/vm/vm_pageout.c
sys/vm/vm_pageout.h