From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [PATCH 3/7] proc: Introduce the Children: line in /proc//status Date: Sat, 23 Jul 2011 12:51:46 +0400 Message-ID: <4E2A8BA2.1040408@parallels.com> 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> <20110723085014.GI21089@mtj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110723085014.GI21089-9pTldWuhBndy/B6EtB590w@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: Tejun Heo Cc: Glauber Costa , Cyrill Gorcunov , Nathan Lynch , Linux Containers , Serge Hallyn , Daniel Lezcano List-Id: containers.vger.kernel.org On 07/23/2011 12:50 PM, Tejun Heo wrote: > 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. OK. > Thanks. >