diff options
author | David Rientjes | 2010-08-10 02:18:54 +0200 |
---|---|---|
committer | Linus Torvalds | 2010-08-10 05:44:57 +0200 |
commit | 309ed882508cc471320ff79265e7340774d6746c (patch) | |
tree | 28321b30bc420c62554ef6a705ec4bc70651b473 /Documentation/isapnp.txt | |
parent | oom: avoid oom killer for lowmem allocations (diff) | |
download | kernel-qcow2-linux-309ed882508cc471320ff79265e7340774d6746c.tar.gz kernel-qcow2-linux-309ed882508cc471320ff79265e7340774d6746c.tar.xz kernel-qcow2-linux-309ed882508cc471320ff79265e7340774d6746c.zip |
oom: extract panic helper function
There are various points in the oom killer where the kernel must determine
whether to panic or not. It's better to extract this to a helper function
to remove all the confusion as to its semantics.
Also fix a call to dump_header() where tasklist_lock is not read- locked,
as required.
There's no functional change with this patch.
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/isapnp.txt')
0 files changed, 0 insertions, 0 deletions