diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-19 18:02:12 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-19 18:02:12 +0100 |
commit | 0a950f65e1e64f4e82b4b5507773848ea88bcb8e (patch) | |
tree | 90106ea13abc3cfe9226dc0c7628ccad136f92b4 /lib/parser.c | |
parent | cgroup, cpuset: remove cgroup_subsys->post_clone() (diff) | |
download | linux-0a950f65e1e64f4e82b4b5507773848ea88bcb8e.tar.xz linux-0a950f65e1e64f4e82b4b5507773848ea88bcb8e.zip |
cgroup: add cgroup->id
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 <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions