Thread (55 messages) 55 messages, 8 authors, 2012-11-01

Re: zram OOM behavior

From: David Rientjes <rientjes@google.com>
Date: 2012-10-31 18:42:31

On Tue, 30 Oct 2012, Luigi Semenzato wrote:
For completeness, I would like to report that the page fault in
mm_release looks legitimate.  The fault happens near here:

if (unlikely(tsk->robust_list)) {
    exit_robust_list(tsk);
    tsk->robust_list = NULL;
}

and robust_list is a userspace structure.
This is the only place where the hang occurs when there are several 
threads in the exit path with PF_EXITING and it causes the oom killer to 
defer killing a process?  If that's the case, then a simple 
tsk->robust_list check would be sufficient to avoid deferring incorrectly.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help