OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH] namespaces: fix exit race by splitting exit
Re: [PATCH] namespaces: fix exit race by splitting exit [message #17382] Fri, 26 January 2007 06:30 Go to previous message
Andrew Morton is currently offline  Andrew Morton
Messages: 127
Registered: December 2005
Senior Member
On Thu, 25 Jan 2007 23:26:59 -0600
"Serge E. Hallyn" <serue@us.ibm.com> wrote:

> Fix exit race by splitting the nsproxy putting into two pieces.
> First piece reduces the nsproxy refcount.  If we dropped the last
> reference, then it puts the mnt_ns, and returns the nsproxy as a
> hint to the caller.  Else it returns NULL.  The second piece of
> exiting task namespaces sets tsk->nsproxy to NULL, and drops the
> references to other namespaces and frees the nsproxy only if an
> nsproxy was passed in.
> 
> A little awkward and should probably be reworked, but hopefully
> it fixes the NFS oops.

I'm a bit worried about jamming something like this into 2.6.20.  Could the
usual culprits please review this carefully with some urgency?

And Daniel, if you can find time to runtime test it please?
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: Re: MCR
Next Topic: [PATCH] namespaces: fix exit race by splitting exit
Goto Forum:
  


Current Time: Sat Aug 23 21:03:14 GMT 2025

Total time taken to generate the page: 0.06322 seconds