Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xtensa/mm/fault.c: port OOM changes to do_page_fault
Commits d065bd8 ("mm: retry page fault when blocking on disk transfer") and 37b23e0 ("x86,mm: make pagefault killable") 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 xtensa. Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com> Acked-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information