[lkml]   [2010]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[patch -mm 0/9 v2] oom killer rewrite
This patchset is a rewrite of the out of memory killer to address several
issues that have been raised recently. The most notable change is a
complete rewrite of the badness heuristic that determines which task is
killed; the goal was to make it as simple and predictable as possible
while still addressing issues that plague the VM.

Changes from version 1:

- updated to mmotm-2010-02-11-21-55

- when iterating the tasklist for mempolicy-constrained oom conditions,
the node of the cpu that a MPOL_F_LOCAL task is running on is now
intersected with the page allocator's nodemask to determine whether it
should be a candidate for oom kill.

- added: [patch 4/9] oom: remove compulsory panic_on_oom mode

- /proc/pid/oom_score_adj was added to prevent ABI breakage for
applications using /proc/pid/oom_adj. /proc/pid/oom_adj may still be
used with the old range but it is then scaled to oom_score_adj units
for a rough linear approximation. There is no loss in functionality
from the old interface.

- added: [patch 6/9] oom: deprecate oom_adj tunable

This patchset is based on mmotm-2010-02-11-21-55 because of the following

[patch 5/9] oom: badness heuristic rewrite:

[patch 7/9] oom: replace sysctls with quick mode:

To apply to mainline, download 2.6.33-rc8 and apply


from first.
Documentation/feature-removal-schedule.txt | 30 +
Documentation/filesystems/proc.txt | 100 +++---
Documentation/sysctl/vm.txt | 71 +---
fs/proc/base.c | 106 ++++++
include/linux/mempolicy.h | 13
include/linux/oom.h | 24 +
include/linux/sched.h | 3
kernel/fork.c | 1
kernel/sysctl.c | 15
mm/mempolicy.c | 39 ++
mm/oom_kill.c | 479 ++++++++++++++---------------
mm/page_alloc.c | 3
12 files changed, 553 insertions(+), 331 deletions(-)

 \ /
  Last update: 2010-02-15 23:23    [W:0.140 / U:0.480 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site