]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/m68k/mm/fault.c
m68k/mm: Port OOM changes to do_page_fault()
authorKautuk Consul <consul.kautuk@gmail.com>
Sun, 25 Mar 2012 10:37:48 +0000 (06:37 -0400)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Apr 2012 18:16:49 +0000 (20:16 +0200)
commitb637a6b16731d806ae2c8b9619a5619a2f283f15
tree1f7f86a392b36b6dfb160449736a8a43647e84c4
parent107b5d5302b184b72a2f12d9d23f2fcd4ce8a6ec
m68k/mm: 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 m68k.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/fault.c