]> 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>
Fri, 2 Nov 2012 06:24:00 +0000 (14:24 +0800)
commitc4a414a99f553750b9a376c069c8d24b45bfb621
tree06ec127f6ee2572b6b2e7a1bfb1d975295384f7d
parent8c23f406c6d86808726ace580657186bc3b44587
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