Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753399Ab2KSJFl (ORCPT ); Mon, 19 Nov 2012 04:05:41 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:17302 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753183Ab2KSJFk (ORCPT ); Mon, 19 Nov 2012 04:05:40 -0500 Message-ID: <50A9F5F3.3050907@huawei.com> Date: Mon, 19 Nov 2012 17:03:47 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , Subject: Re: [PATCH 1/8] cgroup: add cgroup->id References: <1353093624-22608-1-git-send-email-tj@kernel.org> <1353093624-22608-2-git-send-email-tj@kernel.org> In-Reply-To: <1353093624-22608-2-git-send-email-tj@kernel.org> Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.68.215] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 19 On 2012/11/17 3:20, Tejun Heo wrote: > With the introduction of generic cgroup hierarchy iterators, css_id is > being phased out. It was unnecessarily complex, id'ing the wrong > thing (cgroups need IDs, not CSSes) and has other oddities like not > being available at ->css_alloc(). > > This patch adds cgroup->id, which is a simple per-hierarchy > ida-allocated ID which is assigned before ->css_alloc() and released > after ->css_free(). > > Signed-off-by: Tejun Heo Acked-by: Li Zefan -- 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/