Re: [PATCH cgroup/for-3.12] cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013/7/12 7:34, Tejun Heo wrote:
> 
> task_cgroup_path_from_hierarchy() was added for the planned new users
> and none of the currently planned users wants to know about multiple
> hierarchies.  This patch drops the multiple hierarchy part and makes
> it always return the path in the first non-dummy hierarchy.
> 
> As unified hierarchy will always have id 1, this is guaranteed to
> return the path for the unified hierarchy if mounted; otherwise, it
> will return the path from the hierarchy which happens to occupy the
> lowest hierarchy id, which will usually be the first hierarchy mounted
> after boot.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Lennart Poettering <lennart@xxxxxxxxxxxxxx>
> Cc: Kay Sievers <kay.sievers@xxxxxxxx>
> Cc: Jan Kaluža <jkaluza@xxxxxxxxxx>

Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux