]> git.baikalelectronics.ru Git - kernel.git/commit
tile/mm/fault.c: Port OOM changes to handle_page_fault
authorKautuk Consul <consul.kautuk@gmail.com>
Sat, 31 Mar 2012 12:05:39 +0000 (08:05 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 25 May 2012 16:48:29 +0000 (12:48 -0400)
commit5c75f48bdd5be504d6f2873db69c79e8c515deec
tree39850830736916febb5b97741788d17955c9d5af
parent1720e88b65b2ab0233968ad1a29b752ad859ed64
tile/mm/fault.c: Port OOM changes to handle_page_fault

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

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
[cmetcalf@tilera.com: initialize "flags" after "write" updated.]
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/mm/fault.c