lkml.org 
[lkml]   [2009]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 07/11 -mmotm] oom: prevent possible OOM_DISABLE livelock
    On Sun, 10 May 2009 15:07:19 -0700 (PDT)
    David Rientjes <rientjes@google.com> wrote:
    >

    The changelog perplexes me.

    > This moves the check for OOM_DISABLE to the badness heuristic while
    > holding task_lock().

    why?

    > Badness scores of 0 are now explicitly prohibited
    > from being oom killed

    why?

    > and since the oom_adj value is a characteristic of
    > an mm and not a task, it is no longer necessary to check the oom_adj
    > value for threads sharing the same memory (except when simply issuing
    > SIGKILLs for threads in other thread groups).

    ok...


    The title says that this patch fixes a livelock. But the changelog
    didn't describe that livelock and didn't tell us how the patch fixed
    it.


    \
     
     \ /
      Last update: 2009-05-11 23:31    [W:0.020 / U:31.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site