From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [RFD] cgroup: about multiple hierarchies Date: Mon, 12 Mar 2012 15:28:17 -0700 Message-ID: <20120312222817.GI23255@google.com> References: <20120221211938.GE12236@google.com> <20120312221050.GG23255@google.com> <1331590938.18960.57.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=E2noezTWBs94Heniot56ylsom0kS129NlNuuIwkmEwI=; b=QXszRjiBved6nU9lxf5uXWDoBVVkDwefuKfV4SECOfp2FDdHOJORoGYvjRutc4vpRk qpnn1IlJVkcXR0xcIItif5LuSreD9dFU2jU5cmqvWmn/dPFf0nJjxjHjXpzdWPFtEHa6 SjBogw70P6dJJtNMi3+e2Gp28WyquZ3ggrbLtXAFXBk+M9xokOgL/VQMCpgZya4TTu/F G212HkwCVHwEMnaT5utwIN62I6D8I0HKoU58roUr1/4pUQ/ddHoJXe335582Rvp9yuYM 8OBalsJ2dNH5rPh3kz2g1wHzRQWFpPXWNFXkgVSXhJqfiKokToIgY0UQjKO0a+yJ7Ter RkVg== Content-Disposition: inline In-Reply-To: <1331590938.18960.57.camel@twins> List-Id: 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: Peter Zijlstra Cc: Michal Schmidt , Frederic Weisbecker , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Kay Sievers , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Lennart Poettering , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , Vivek Goyal Hey, On Mon, Mar 12, 2012 at 11:22:18PM +0100, Peter Zijlstra wrote: > On Mon, 2012-03-12 at 15:10 -0700, Tejun Heo wrote: > > > > * How to map controllers which aren't aware of full hierarchy is still > > an open question but I'm still standing by one active node on any > > root-to-leaf path w/ root group serving as the special rest group. > > What does this mean? Let's say we have a tree like the following. root / | \ G1 G2 G3 / \ G31 G32 So, for cgroups which don't support full hierarchy, it'll be viewed as either, root / | \ G1 G2 G3 or root / | | \ G1 G2 G31 G32 With root being treated specially, probably as just being a equal group as other groups, I'm not fully determined about that yet. Thanks. -- tejun From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757873Ab2CLW2X (ORCPT ); Mon, 12 Mar 2012 18:28:23 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:47174 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757845Ab2CLW2W (ORCPT ); Mon, 12 Mar 2012 18:28:22 -0400 Date: Mon, 12 Mar 2012 15:28:17 -0700 From: Tejun Heo To: Peter Zijlstra Cc: Li Zefan , containers@lists.linux-foundation.org, cgroups@vger.kernel.org, Andrew Morton , Kay Sievers , Lennart Poettering , Frederic Weisbecker , linux-kernel@vger.kernel.org, Vivek Goyal , Michal Schmidt Subject: Re: [RFD] cgroup: about multiple hierarchies Message-ID: <20120312222817.GI23255@google.com> References: <20120221211938.GE12236@google.com> <20120312221050.GG23255@google.com> <1331590938.18960.57.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1331590938.18960.57.camel@twins> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, On Mon, Mar 12, 2012 at 11:22:18PM +0100, Peter Zijlstra wrote: > On Mon, 2012-03-12 at 15:10 -0700, Tejun Heo wrote: > > > > * How to map controllers which aren't aware of full hierarchy is still > > an open question but I'm still standing by one active node on any > > root-to-leaf path w/ root group serving as the special rest group. > > What does this mean? Let's say we have a tree like the following. root / | \ G1 G2 G3 / \ G31 G32 So, for cgroups which don't support full hierarchy, it'll be viewed as either, root / | \ G1 G2 G3 or root / | | \ G1 G2 G31 G32 With root being treated specially, probably as just being a equal group as other groups, I'm not fully determined about that yet. Thanks. -- tejun