lkml.org 
[lkml]   [2011]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] mm: skip zombie in OOM-killer
    Date
    > When we check that task has flag TIF_MEMDIE, we forgot check that
    > it has mm. A task may be zombie and a parent may wait a memor.
    >
    > v2: Check that task doesn't have mm one time and skip it immediately
    >
    > Signed-off-by: Andrey Vagin <avagin@openvz.org>

    This seems incorrect. Do you have a reprodusable testcasae?
    Your patch only care thread group leader state, but current code
    care all thread in the process. Please look at oom_badness() and
    find_lock_task_mm().





    \
     
     \ /
      Last update: 2011-03-06 11:41    [W:4.021 / U:0.312 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site