]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nios2: Port OOM changes to do_page_fault()
authorLey Foon Tan <lftan@altera.com>
Mon, 9 Feb 2015 10:11:29 +0000 (18:11 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 9 Feb 2015 10:11:29 +0000 (18:11 +0800)
commit96f3a5cc33baede169e0d330119090789e97e86b
treea3b974676527451ef7542ca1029b92d136ceaee7
parentad7ef26d433bbf21a915652d96ad07048a0a4e26
nios2: Port OOM changes to do_page_fault()

Commit d065bd810b6d ("mm: retry page fault when blocking on disk transfer") and
and commit 37b23e0525d3 ("x86,mm: make pagefault killable")

The above commits introduced changes into the nios2 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.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/mm/fault.c