]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7da140fc889edda96a48ba49992fa3e842c8dc9
tree2bf5882aa6cc8a9f1e03b792849a1dc6e2216500
parentc8d527bf051a955e9a93d47eeb430b58d841c1a7
microblaze: Port OOM changes to do_page_fault

Commit a99d657f79def8aeb8b35d80bdbdeb21a5632d86
(mm: retry page fault when blocking on disk transfer) and
commit 757775a9be6b0a40ec4f62ed70ba4f63b39ca4f5
(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