]> git.baikalelectronics.ru Git - kernel.git/commit
alpha/mm/fault.c: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Sun, 19 Aug 2012 02:41:01 +0000 (14:41 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 19 Aug 2012 15:41:19 +0000 (08:41 -0700)
commitfb1d0352d75ba40a82f2f1170e4342a28756b0c1
treee545cca77bcafdf9071e0eb7647051e391f4436b
parentb1b9d4b2db55f94b2348d7cc6828b5d24aa55974
alpha/mm/fault.c: Port OOM changes to do_page_fault

Commit a99d657f79de ("mm: retry page fault when blocking on disk
transfer") and 757775a9be6b ("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 ALPHA.

Signed-off-by: Mohd. Faris <mohdfarisq2010@gmail.com>
Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/mm/fault.c