microblaze: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Tue, 20 Mar 2012 13:21:40 +0000 (09:21 -0400)
committerMichal Simek <monstr@monstr.eu>
Fri, 25 May 2012 04:34:34 +0000 (06:34 +0200)
commitf397c077e114df07bd2b94a16681a04be8d59dff
tree2bf5882aa6cc8a9f1e03b792849a1dc6e2216500
parent59516b07b4ffa7e607a5787674ea3c405f1b390c
microblaze: Port OOM changes to do_page_fault

Commit d065bd810b6deb67d4897a14bfe21f8eb526ba99
(mm: retry page fault when blocking on disk transfer) and
commit 37b23e0525d393d48a7d59f870b3bc061a30ccdb
(x86,mm: make pagefault killable)

The above commits 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 microblaze.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
arch/microblaze/mm/fault.c