From: David Rientjes Date: Tue, 22 Sep 2009 00:01:34 +0000 (-0700) Subject: mm: update alloc_flags after oom killer has been called X-Git-Tag: v2.6.32-rc1~577 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b259fbde0a86085264c89aa2ce9c6e35792a1aad;p=pandora-kernel.git mm: update alloc_flags after oom killer has been called It is possible for the oom killer to select current as the task to kill. When this happens, alloc_flags needs to be updated accordingly to set ALLOC_NO_WATERMARKS so the subsequent allocation attempt may use memory reserves as the result of its thread having TIF_MEMDIE set if the allocation is not __GFP_NOMEMALLOC. Acked-by: Mel Gorman Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed