[Devel] Re: pidns memory leak

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Fri Oct 9 18:32:35 PDT 2009


Ccing  Andrea's new email id:

Daniel Lezcano [dlezcano at fr.ibm.com] wrote:
> Following your explanation I was able to reproduce a simple program  
> added in attachment. But there is something I do not understand is why  
> the leak does not appear if I do the 'lstat' (cf. test program) in the  
> pid 2 context.

Hmm, are you sure there is no leak with this test program ? If I put back
the commit (7766755a2f249e7), I do see a leak in all three data structures
(pid_2, proc_inode, pid_namespace).
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list