From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933222Ab1KCRGx (ORCPT ); Thu, 3 Nov 2011 13:06:53 -0400 Received: from mx2.parallels.com ([64.131.90.16]:39538 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932703Ab1KCRGv (ORCPT ); Thu, 3 Nov 2011 13:06:51 -0400 Message-ID: <4EB2CA03.7030601@parallels.com> Date: Thu, 3 Nov 2011 15:06:11 -0200 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Paul Menage CC: Frederic Weisbecker , Glauber Costa , Andrew Morton , Tim Hockin , LKML , Li Zefan , Johannes Weiner , Aditya Kali , Oleg Nesterov , Kay Sievers , Tejun Heo , "Kirill A. Shutemov" , Containers , Paul Turner Subject: Re: [PATCH 00/10] cgroups: Task counter subsystem v6 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> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [201.82.130.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.