diff options
author | Li Zefan <lizefan@huawei.com> | 2013-07-31 09:50:50 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-31 07:47:34 -0400 |
commit | 4e96ee8e981b5140a2bcc5fff0d5c0eef39a62ee (patch) | |
tree | b6ef292c7e0aa59b29ff2827bdee631d23b02eaa /arch/unicore32/mm | |
parent | 6f4b7e632d78c2d91502211c430722cc66428492 (diff) | |
download | blackbird-op-linux-4e96ee8e981b5140a2bcc5fff0d5c0eef39a62ee.tar.gz blackbird-op-linux-4e96ee8e981b5140a2bcc5fff0d5c0eef39a62ee.zip |
cgroup: convert cgroup_ida to cgroup_idr
This enables us to lookup a cgroup by its id.
v4:
- add a comment for idr_remove() in cgroup_offline_fn().
v3:
- on success, idr_alloc() returns the id but not 0, so fix the BUG_ON()
in cgroup_init().
- pass the right value to idr_alloc() so that the id for dummy cgroup is 0.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/unicore32/mm')
0 files changed, 0 insertions, 0 deletions