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

The changelog perplexes me.

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


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


> 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).


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

 \ /
  Last update: 2009-05-11 23:31    [W:0.141 / U:3.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site