Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180Ab0HBSEg (ORCPT ); Mon, 2 Aug 2010 14:04:36 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:49121 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752043Ab0HBSEf (ORCPT ); Mon, 2 Aug 2010 14:04:35 -0400 Date: Mon, 2 Aug 2010 23:34:29 +0530 From: Balbir Singh To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "nishimura@mxp.nes.nec.co.jp" , gthelen@google.com, m-ikeda@ds.jp.nec.com, "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC][PATCH 2/7][memcg] cgroup arbitarary ID allocation Message-ID: <20100802180429.GY3863@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <20100727165155.8b458b7f.kamezawa.hiroyu@jp.fujitsu.com> <20100727165417.dacbe199.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100727165417.dacbe199.kamezawa.hiroyu@jp.fujitsu.com> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 24 * KAMEZAWA Hiroyuki [2010-07-27 16:54:17]: > From: KAMEZAWA Hiroyuki > > When a subsystem want to make use of "id" more, it's necessary to > manage the id at cgroup subsystem creation time. But, now, > because of the order of cgroup creation callback, subsystem can't > declare the id it wants. This patch allows subsystem to use customized > ID for themselves. > > Signed-off-by: KAMEZAWA Hiroyuki > --- What happens if the id is taken already? Could you please explain how this is used? -- Three Cheers, Balbir -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/