diff options
author | Tejun Heo <tj@kernel.org> | 2013-07-11 16:34:48 -0700 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-12-22 09:16:48 +0100 |
commit | cff3f5b395055201af584eca371edceb5d99e071 (patch) | |
tree | 19505ae7fe265715bc5b7c60ebfb0ca64bba99c5 /mm/memory.c | |
parent | c041e2cd281c85e7e66fc2ab0e6e2c8b37d97977 (diff) | |
download | linux-3.10-kdbus-integration.tar.gz linux-3.10-kdbus-integration.tar.bz2 linux-3.10-kdbus-integration.zip |
cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()kdbus-integration
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@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Jan Kaluža <jkaluza@redhat.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions