]> 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)
commit2dedba6f47813d27ef16b8b8334eb4027dd3a761
treee545cca77bcafdf9071e0eb7647051e391f4436b
parent0d9d0cd1ee14091adb475a5bb6b545d6123980d1
alpha/mm/fault.c: Port OOM changes to do_page_fault

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