commit | 1a574231669f8c3065c83974e9557fcbbd94b8a6 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 14 11:36:58 2013 -0700 |
committer | Tejun Heo <tj@kernel.org> | Tue May 14 11:42:07 2013 -0700 |
tree | 1f2f0bc767f0fae3c5e5c28e3274733d4bf0fb07 | |
parent | 54e7b4eb15fc4354d5ada5469e3db4a220ddb3ed [diff] |
cgroup: make hierarchy_id use cyclic idr We want to be able to lookup a hierarchy from its id and cyclic allocation is a whole lot simpler with idr. Convert to idr and use idr_alloc_cyclc(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>