diff options
author | Kautuk Consul <[email protected]> | 2011-12-23 16:52:42 +0530 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2012-02-20 18:33:19 +0100 |
commit | 43ca4957a15a120d0822a60a22998dbb41bbf075 (patch) | |
tree | e1bbcc60ca694168c1dbc2af187dc03d8b441abe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 58a7fca67a9a6c7dccff727f16826f811ca59127 (diff) |
MIPS: 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 MIPS.
Without these changes, my MIPS board encounters many hang and livelock
scenarios.
After applying this patch, OOM feature performance improves according to
my testing.
Signed-off-by: Mohd. Faris <[email protected]>
Signed-off-by: Kautuk Consul <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3217/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions