avr32: invoke oom-killer from page fault
authorNick Piggin <npiggin@suse.de>
Tue, 10 Aug 2010 00:19:02 +0000 (17:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:44:58 +0000 (20:44 -0700)
commit67a8a20fe1eec43ebfa7f2b83e988dbdb4c16271
treeb5d5023e7d72d9b1f823b5ab35bf0430e0f9ebae
parent596d7cfa2be6284512915609f01b7fe2f4df5d02
avr32: 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: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/avr32/mm/fault.c