summaryrefslogtreecommitdiff
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-04-14 11:36:58 -0700
committerTejun Heo <tj@kernel.org>2013-05-14 11:42:07 -0700
commit1a574231669f8c3065c83974e9557fcbbd94b8a6 (patch)
tree1f2f0bc767f0fae3c5e5c28e3274733d4bf0fb07 /include/linux/cgroup.h
parent54e7b4eb15fc4354d5ada5469e3db4a220ddb3ed (diff)
downloadlwn-1a574231669f8c3065c83974e9557fcbbd94b8a6.tar.gz
lwn-1a574231669f8c3065c83974e9557fcbbd94b8a6.zip
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>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions