From: David Rientjes Date: Tue, 10 Aug 2010 00:18:54 +0000 (-0700) Subject: oom: extract panic helper function X-Git-Tag: v2.6.36-rc1~454 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=309ed882508cc471320ff79265e7340774d6746c;p=pandora-kernel.git 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 Signed-off-by: David Rientjes Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed