diff options
author | Kautuk Consul <consul.kautuk@gmail.com> | 2012-07-30 21:39:25 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 00:25:11 (GMT) |
commit | bf7c27e9887af48952743753916f9cfbe900d0e9 (patch) | |
tree | 500736901ab3cc72e7f90332602d1419897ae1f9 /arch/sh/lib | |
parent | 7eafef6d1d712aa9973c3cbd0013a5b66d5a6604 (diff) | |
download | linux-bf7c27e9887af48952743753916f9cfbe900d0e9.tar.xz |
avr32/mm/fault.c: port OOM changes to do_page_fault
Commits d065bd810b6d ("mm: retry page fault when blocking on disk
transfer") and 37b23e0525d3 ("x86,mm: make pagefault killable")
introduced changes into the x86 pagefault handler for making the page
fault handler retryable as well as killable.
These changes reduce the mmap_sem hold time, which is crucial during OOM
killer invocation.
Port these changes to AVR32.
[akpm@linux-foundation.org: fix comment layout]
Signed-off-by: Mohd. Faris <mohdfarisq2010@gmail.com>
Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: Havard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/lib')
0 files changed, 0 insertions, 0 deletions