|
|
Subscribe / Log in / New account

oom killer rewrite

From:  David Rientjes <rientjes@google.com>
To:  Andrew Morton <akpm@linux-foundation.org>
Subject:  [patch 00/10 -mm v3] oom killer rewrite
Date:  Wed, 10 Mar 2010 02:41:08 -0800 (PST)
Cc:  Rik van Riel <riel@redhat.com>, Nick Piggin <npiggin@suse.de>, Balbir Singh <balbir@linux.vnet.ibm.com>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>, linux-mm@kvack.org

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 2:

 - updated to mmotm-2010-03-09-19-15

 - schedule a timeout for current if it was not selected for oom kill
   when it has returned VM_FAULT_OOM so memory can freed to prevent
   needlessly recalling the oom killer and looping.

To apply, download the -mm tree from
http://userweb.kernel.org/~akpm/mmotm/broken-out.tar.gz first.

This patchset is also available for each kernel release from:

	http://www.kernel.org/pub/linux/kernel/people/rientjes/oo...

including broken out patches.
---
 Documentation/feature-removal-schedule.txt |   30 +
 Documentation/filesystems/proc.txt         |  100 +++--
 Documentation/sysctl/vm.txt                |   51 +-
 fs/proc/base.c                             |  106 +++++
 include/linux/memcontrol.h                 |    8 
 include/linux/mempolicy.h                  |   13 
 include/linux/oom.h                        |   24 +
 include/linux/sched.h                      |    3 
 kernel/exit.c                              |    8 
 kernel/fork.c                              |    1 
 kernel/sysctl.c                            |   15 
 mm/memcontrol.c                            |    8 
 mm/mempolicy.c                             |   44 ++
 mm/oom_kill.c                              |  567 +++++++++++++++--------------
 mm/page_alloc.c                            |   29 +
 15 files changed, 655 insertions(+), 352 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>



Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds