OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] namespaces: fix exit race by splitting exit
Re: [PATCH] namespaces: fix exit race by splitting exit [message #17392 is a reply to message #17391] Fri, 26 January 2007 10:23 Go to previous messageGo to previous message
Oleg Nesterov is currently offline  Oleg Nesterov
Messages: 143
Registered: August 2006
Senior Member
On 01/26, Daniel Hokka Zakrisson wrote:
>
> Serge E. Hallyn wrote:
> > Ok, could you verify that the following patch at least solves
> > the oopsing?
> >
> > (I can't reproduce the oops with Daniel's test prog)
> >
> > thanks,
> > -serge
> 
> Indeed, this patch solves the oopsing, but so did the last one. I think I
> finally managed to figure out why too, as release_task would be called
> with current referring to the parent process, or whoever is reaping the
> process with the last reference to the namespace. Right?

Not always. The task can do release_task() on itself if it is sub-thread,
or its parent ignores SIGCHLD.

Anyway I think your explanation is correct for this particular test-case.

Oleg.

_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [PATCH] namespaces: fix exit race by splitting exit
Next Topic: [PATCH 1/2] rdmsr_on_cpu, wrmsr_on_cpu
Goto Forum:
  


Current Time: Sat Aug 23 15:55:30 GMT 2025

Total time taken to generate the page: 0.05529 seconds