mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
sparc/mm/fault_32.c: Port OOM changes to do_sparc_fault
Commitd065bd810b(mm: retry page fault when blocking on disk transfer) and commit37b23e0525(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 32-bit sparc. Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7358e51082
commit
c29554f53e
1 changed files with 30 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue