Kautuk Consul
2012-03-20 13:18:14 UTC
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.
I was facing hang and livelock problems on my ARM and MIPS boards when
I invoked OOM by running the stress_32k.c test-case attached to this email.
Since both the ARM and MIPS porting chainges were accepted, me and my
co-worker decided to take the initiative to port these changes to all other
MMU based architectures.
Please review and do write back if there is any way I need to
improve/rewrite any
of these patches.
Signed-off-by: Mohd. Faris <mohdfarisq2010 at gmail.com>
Signed-off-by: Kautuk Consul <consul.kautuk at gmail.com>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stress_32k.c
Type: text/x-csrc
Size: 3896 bytes
Desc: not available
URL: <http://lists.openrisc.net/pipermail/linux/attachments/20120320/ac14957d/attachment.c>
(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.
I was facing hang and livelock problems on my ARM and MIPS boards when
I invoked OOM by running the stress_32k.c test-case attached to this email.
Since both the ARM and MIPS porting chainges were accepted, me and my
co-worker decided to take the initiative to port these changes to all other
MMU based architectures.
Please review and do write back if there is any way I need to
improve/rewrite any
of these patches.
Signed-off-by: Mohd. Faris <mohdfarisq2010 at gmail.com>
Signed-off-by: Kautuk Consul <consul.kautuk at gmail.com>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stress_32k.c
Type: text/x-csrc
Size: 3896 bytes
Desc: not available
URL: <http://lists.openrisc.net/pipermail/linux/attachments/20120320/ac14957d/attachment.c>