lkml.org 
[lkml]   [2009]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] forget_original_parent: split out the un-ptrace part
On 02/23, Oleg Nesterov wrote:
>
> If we are going to optimize out tasklist in forget_original_parent(), then
> I'd prefer http://marc.info/?l=linux-kernel&m=123438710725342
>
> But this needs a fat comment. And I didn't think carefully about this code.

No, this won't work.

When ->child_reaper exits, it must take tasklist and call find_new_reaper()
even if it has no children.

Oleg.



\
 
 \ /
  Last update: 2009-02-23 19:33    [W:0.066 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site