From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 3/7] proc: Introduce the Children: line in /proc//status Date: Sat, 23 Jul 2011 10:50:14 +0200 Message-ID: <20110723085014.GI21089@mtj.dyndns.org> References: <4E204466.8010204@parallels.com> <4E2044C3.7050506@parallels.com> <20110721065436.GT3455@htj.dyndns.org> <4E2A8116.1040309@parallels.com> <20110723084110.GG21089@mtj.dyndns.org> <4E2A8A0E.5030208@parallels.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4E2A8A0E.5030208-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: Glauber Costa , Cyrill Gorcunov , Nathan Lynch , Linux Containers , Serge Hallyn , Daniel Lezcano List-Id: containers.vger.kernel.org On Sat, Jul 23, 2011 at 12:45:02PM +0400, Pavel Emelyanov wrote: > OK I see. Then my answer is - typically a container looks like an > init task with everybody else growing from that point. Having a > machine with 1000 of containers building the whole /proc tree in > memory to dump a single container would be MUCH more expensive that > having this small like in proc. This isn't a major point, so let's leave it alone for now. If it's necessary, adding it isn't a big deal; however, I think it would probably be better solved by per-ns procfs. If walking /proc becomes a huge overhead, CR wouldn't be the only one suffering and it calls for a better solution. Thanks. -- tejun