[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <516B777B.9050704@huawei.com>
Date: Mon, 15 Apr 2013 11:43:55 +0800
From: Li Zefan <lizefan@...wei.com>
To: Tejun Heo <tj@...nel.org>
CC: <containers@...ts.linux-foundation.org>, <cgroups@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kay@...y.org>, <greg@...ah.com>,
<lennart@...ttering.net>, <daniel@...que.org>
Subject: Re: [PATCHSET] cgroup: implement task_cgroup_path_from_hierarchy()
On 2013/4/15 2:36, Tejun Heo wrote:
> kdbus folks want a sane way to determine the cgroup path that a given
> task belongs to on a given hierarchy, which is a reasonble thing to
> expect from cgroup core.
>
> This patchset make hierarchy_id allocation use idr instead of ida and
> implement task_cgroup_path_from_hierarchy(). In the process, the
> yucky ida cyclic allocation is replaced with idr_alloc_cyclic().
>
> 0001-cgroup-refactor-hierarchy_id-handling.patch
> 0002-cgroup-drop-hierarchy_id_lock.patch
> 0003-cgroup-make-hierarchy_id-use-cyclic-idr.patch
> 0004-cgroup-implement-task_cgroup_path_from_hierarchy.patch
>
> 0001-0002 prepare for conversion to idr, which 0003 does.
>
> 0004 implements the new function.
>
Acked-by: Li Zefan <lizefan@...wei.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists