Messages in this thread | | | Date | Mon, 23 Feb 2009 19:26:38 +0100 | From | Oleg Nesterov <> | Subject | Re: [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.
| |