[IA64] Port OOM changes to ia64_do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Thu, 14 Jun 2012 20:11:37 +0000 (13:11 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 14 Jun 2012 20:11:37 +0000 (13:11 -0700)
commitf28fa729149c8b39699f7995ce5fff34c5145a9d
tree3dba7e7ef8b5eb76d456a0172706ec2162ef13d9
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
[IA64] Port OOM changes to ia64_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 ia64.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/fault.c