]> git.baikalelectronics.ru Git - kernel.git/commit
mn10300/mm/fault.c: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Wed, 12 Dec 2012 15:36:39 +0000 (15:36 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 12 Dec 2012 15:46:15 +0000 (15:46 +0000)
commit230ac5d6e8d44503f6744360fb28a5d3fdd893d6
tree5c89370be6ffe8e328e5f28cf2877ce7580a37b3
parent05582a6f135e24190344ef3ce0f3689172ced3ac
mn10300/mm/fault.c: 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 mn10300.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/mm/fault.c