]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - arch/parisc/mm/fault.c
parisc/mm/fault.c: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Tue, 20 Mar 2012 13:26:53 +0000 (09:26 -0400)
committerHelge Deller <deller@gmx.de>
Wed, 20 Feb 2013 21:51:31 +0000 (22:51 +0100)
commit38057477b98712bd9c735bf9d26b83c25d9d3279
tree681dc06615614aa94605404a58e31620d856e3ca
parent45b6eff2a60c8bec1254412dfdb36acb0afe04a2
parisc/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 parisc.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/fault.c