lkml.org 
[lkml]   [2010]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/5] oom: the points calculation of child processes must use find_lock_task_mm() too
Date
> And, I think we need another patch on top of this one. Note that
> this list_for_each_entry(p->children) can only see the tasks forked
> by p, it can't see other children forked by its sub-threads.
>
> IOW, we need
>
> do {
> list_for_each_entry(c, &t->children, sibling) {
> ...
> }
> } while_each_thread(p, t);
>
> Probably the same for oom_kill_process().
>
> What do you think?

Makes perfectly sense. I have to do it!

Thanks good reviewing!






\
 
 \ /
  Last update: 2010-06-01 01:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site