[Devel] Re: [PATCH 1/15] Move exit_task_namespaces()

Pavel Emelyanov xemul at sw.ru
Thu Jul 26 23:38:02 PDT 2007


Dave Hansen wrote:
> On Thu, 2007-07-26 at 18:46 +0400, Pavel Emelyanov wrote:
>> +       write_unlock_irq(&tasklist_lock);
>> +       exit_task_namespaces(tsk);
>> +       write_lock_irq(&tasklist_lock); 
> 
> Are there any other side-effects of doing this?  What was the

Looks like there are :( Oleg pointed out, that if any thread dies
it can re-parent all its children to this one, who already released
its namespaces... :(

> tasklist_lock protecting here when it was released?
> 
> -- Dave
> 
> 




More information about the Devel mailing list