Re: pidns memory leak

From: Sukadev Bhattiprolu
Date: Fri Oct 09 2009 - 21:33:20 EST


Ccing Andrea's new email id:

Daniel Lezcano [dlezcano@xxxxxxxxxx] 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).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/