]> git.baikalelectronics.ru Git - kernel.git/commit
cris/mm/fault.c: Port OOM changes to do_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Tue, 20 Mar 2012 13:24:05 +0000 (14:24 +0100)
committerJesper Nilsson <jespern@axis.com>
Wed, 4 Apr 2012 15:50:30 +0000 (17:50 +0200)
commitb905c6e14f6fa3054238e9e29b04368a9ba76c5c
tree711cce67064eabd0d3347fb90ff80c55d59667ed
parent55aef367dec4022ce332aacb1edabe1f85b79ae0
cris/mm/fault.c: Port OOM changes to do_page_fault

Commit a99d657f79def8aeb8b35d80bdbdeb21a5632d86
(mm: retry page fault when blocking on disk transfer) and
commit 64587d42be2d7dc67e4d8a79069c9fc7e8a0b952
(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 CRIS.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/mm/fault.c