]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hexagon/mm/vm_fault.c: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Tue, 20 Mar 2012 13:23:33 +0000 (09:23 -0400)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 13 Apr 2012 17:29:02 +0000 (12:29 -0500)
commit82d8869aa39bcce7977153f7c3f053dcd3829843
tree11ec76f1a0e972a029a5ed355131ec14092e78db
parent417d3b5541242e94fadb8692850f302f98974599
hexagon/mm/vm_fault.c: 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 hexagon.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/mm/vm_fault.c