]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Changes to make the OOM killer much more effective:
authorMike Silbersack <silby@FreeBSD.org>
Tue, 19 Feb 2002 18:34:02 +0000 (18:34 +0000)
committerMike Silbersack <silby@FreeBSD.org>
Tue, 19 Feb 2002 18:34:02 +0000 (18:34 +0000)
commitef6020d18714af9f7540fd367ac87f7a831ecf99
tree0422c97f5c3abd970e82918ecba7ad8cb7fa7b7f
parent60b9808291bda3ad68b1f53c8c602a919acc2d34
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