sh: invoke oom-killer from page fault
authorNick Piggin <npiggin@suse.de>
Thu, 22 Apr 2010 16:06:26 +0000 (16:06 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 26 Apr 2010 06:47:01 +0000 (15:47 +0900)
commit6b6b18e62cfba44ce7b6489c7100f12b199232d7
treedb4a2c60dec3b6dcfbcd46d5e3f056dbac34d646
parent4a6feab0ee5240c4bd5378d9f8a46b85718c68a7
sh: 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-sh@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/fault_32.c
arch/sh/mm/tlbflush_64.c