xtensa: invoke oom-killer from page fault
authorNick Piggin <npiggin@suse.de>
Fri, 4 Jun 2010 21:14:51 +0000 (14:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jun 2010 22:21:44 +0000 (15:21 -0700)
commitf76f5d71048e116f76d2eb02226b01d50890e2f4
tree04e0abc99d61e8beb4d35149d303bda0068dd68d
parentc421b08ef52f38049c6f591c5d260a97af7b0000
xtensa: invoke oom-killer from page fault

As explained in commit 1c0fe6e3bd ("mm: invoke oom-killer from page
fault") , we want to call the architecture independent oom killer when
getting an unexplained OOM from handle_mm_fault, rather than simply
killing current.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/mm/fault.c