]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 29 Oct 2012 02:39:50 +0000 (10:39 +0800)
commitb84cc8e04d3b3d3ec080d97a1a5f273c05ff9915
tree2396ead0cc59f990ba19457fd5bf1e1cd16936ca
parente657e078d3dfa9f96976db7a2b5fd7d7c9f1f1a6
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