From: Kautuk Consul Date: Thu, 31 May 2012 23:26:03 +0000 (-0700) Subject: um/kernel/trap.c: port OOM changes to handle_page_fault() X-Git-Tag: v3.5-rc1~21^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cefe28f95da307287a05a6a0c10213f01055e2a;p=pandora-kernel.git um/kernel/trap.c: port OOM changes to handle_page_fault() Commit d065bd810b6d ("mm: retry page fault when blocking on disk transfer") and commit 37b23e0525d3 ("x86,mm: make pagefault killable") 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 um. Signed-off-by: Kautuk Consul Cc: Jeff Dike Cc: Richard Weinberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed