From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH 00/10] cgroups: Task counter subsystem v6 Date: Thu, 3 Nov 2011 15:06:11 -0200 Message-ID: <4EB2CA03.7030601@parallels.com> References: <1317668832-10784-1-git-send-email-fweisbec@gmail.com> <20111004150111.e9337268.akpm00@gmail.com> <20111028163021.1ce61f8a.akpm@linux-foundation.org> <20111103164917.GF8198@somewhere.redhat.com> <4EB2C852.6020706@parallels.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Paul Menage Cc: Aditya Kali , Kay Sievers , Tim Hockin , Frederic Weisbecker , Containers , Johannes Weiner , LKML , Oleg Nesterov , Glauber Costa , Tejun Heo , Andrew Morton , Paul Turner List-Id: containers.vger.kernel.org On 11/03/2011 03:02 PM, Paul Menage wrote: > On Thu, Nov 3, 2011 at 9:58 AM, Glauber Costa wrote: >> >> Because you are controlling tasks, and tasks are the main building block of >> all cgroups, I think you should at least consider either using >> a cgroup property, > > I don't see how making it a core cgroup property would remove the need > to walk the hierarchy. > Sorry if I wasn't clear: It removes the need to walk multiple independent hierarchies. The walk is done only once.