From: David Rientjes Date: Wed, 17 Oct 2007 06:25:56 +0000 (-0700) Subject: oom: add oom_kill_allocating_task sysctl X-Git-Tag: v2.6.24-rc1~791 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe071d7e8aae5745c009c808bb8933f22a9e305a;p=pandora-kernel.git oom: add oom_kill_allocating_task sysctl Adds a new sysctl, 'oom_kill_allocating_task', which will automatically kill the OOM-triggering task instead of scanning through the tasklist to find a memory-hogging target. This is helpful for systems with an insanely large number of tasks where scanning the tasklist significantly degrades performance. Cc: Andrea Arcangeli Acked-by: Christoph Lameter Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed