microblaze: invoke oom-killer from page fault
authorNick Piggin <npiggin@suse.de>
Thu, 22 Apr 2010 16:06:21 +0000 (02:06 +1000)
committerMichal Simek <monstr@monstr.eu>
Thu, 6 May 2010 09:21:58 +0000 (11:21 +0200)
commit21e1c93631e027136ea4070e7bca600c4ad4f391
treea6f7e949bbf4d7b6c9a67a40125293e23e42e1a2
parentf3ff8212a24f1935b44a3fcdd81c787428f053a6
microblaze: 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: microblaze-uclinux@itee.uq.edu.au
Cc: Michal Simek <monstr@monstr.eu>
Cc: linux-arch@vger.kernel.org
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/mm/fault.c