]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
unicore32/mm/fault.c: Port OOM changes to do_pf
authorKautuk Consul <consul.kautuk@gmail.com>
Sat, 31 Mar 2012 12:05:17 +0000 (08:05 -0400)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 9 Nov 2012 09:30:08 +0000 (17:30 +0800)
commitf3f09d5a4462929609342460d756fab2e8151421
tree43ce4d51ebca8aaca25514ca57e9b61e764ff51b
parent0e4a43ed08e2f44aa7b96aa95d0a540d675483e1
unicore32/mm/fault.c: Port OOM changes to do_pf

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 unicore32.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/mm/fault.c