From: Nick Piggin Date: Fri, 29 Sep 2006 09:01:14 +0000 (-0700) Subject: [PATCH] oom: don't kill current when another OOM in progress X-Git-Tag: v2.6.19-rc1~695 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b78483a4ba60d5d90930262a533a784e1d9df660;p=pandora-kernel.git [PATCH] oom: don't kill current when another OOM in progress A previous patch to allow an exiting task to OOM kill itself (and thereby avoid a little deadlock) introduced a problem. We don't want the PF_EXITING task, even if it is 'current', to access mem reserves if there is already a TIF_MEMDIE process in the system sucking up reserves. Also make the commenting a little bit clearer, and note that our current scheme of effectively single threading the OOM killer is not itself perfect. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed