From: Kautuk Consul Date: Mon, 30 Jul 2012 21:39:21 +0000 (-0700) Subject: xtensa/mm/fault.c: port OOM changes to do_page_fault X-Git-Tag: v3.6-rc1~41^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f107701f011e681a21b95259f950bf9c836884e0;p=pandora-kernel.git xtensa/mm/fault.c: port OOM changes to do_page_fault Commits d065bd810b6d ("mm: retry page fault when blocking on disk transfer") and 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 xtensa. Signed-off-by: Kautuk Consul Acked-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed