m68k: invoke oom-killer from page fault
authorNick Piggin <npiggin@suse.de>
Thu, 22 Apr 2010 16:06:20 +0000 (02:06 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 May 2010 19:37:39 +0000 (21:37 +0200)
commitadbf6e6952e80ae42a403442dcae21438cae94b3
tree225f4f2db9fe9b682546e663c66c85cf510b3ea7
parentf3c7f317c91e45aac0ef9d0b6474cd4637de69f0
m68k: invoke oom-killer from page fault

As explained in commit 1c0fe6e3bd, we want to call the architecture independent
oom killer when getting an unexplained OOM from handle_mm_fault, rather than
simply killing current.

Cc: linux-m68k@lists.linux-m68k.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-arch@vger.kernel.org
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
[Geert] Kill 2 introduced compiler warnings
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/fault.c