From: Kautuk Consul Date: Sat, 31 Mar 2012 12:00:51 +0000 (-0400) Subject: openrisc/mm/fault.c: Port OOM changes to do_page_fault X-Git-Tag: v3.5-rc1~175^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4971f2bdb746e6cc8423ea60f99694884f6052c5;p=pandora-kernel.git openrisc/mm/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 openrisc. Signed-off-by: Mohd. Faris Signed-off-by: Kautuk Consul Signed-off-by: Jonas Bonn --- Reading git-diff-tree failed