lkml.org 
[lkml]   [2009]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch -mm v2] mm: introduce oom_adj_child
On Mon, 3 Aug 2009 00:59:18 -0700 (PDT)
David Rientjes <rientjes@google.com> wrote:

> > > - /proc/pid/oom_score is inconsistent when the thread that set the
> > > effective per-mm oom_adj exits and it is now obsolete since you have
> > > no way to determine what the next effective oom_adj value shall be.
> > >
> > plz re-caluculate it. it's not a big job if done in lazy way.
> >
>
> You can't recalculate it if all the remaining threads have a different
> oom_adj value than the effective oom_adj value from the thread that is now
> exited.

Then, crazy google apps pass different oom_adjs to each thread ?
And, threads other than thread-group-leader modifies its oom_adj.

Hmm, interesting.


Thanks,
-Kame



\
 
 \ /
  Last update: 2009-08-03 10:07    [W:0.057 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site