diff options
| author | Tejun Heo <tj@kernel.org> | 2013-04-14 11:36:58 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-18 12:46:44 +0200 |
| commit | 8c6846e6ed1d240c9b91f2339af802dc58edf1f7 (patch) | |
| tree | 0f9350457479ca7440698c95de4cc176417e5679 /include/linux | |
| parent | e706e435949fc7bfa2e38dedf04690154afd615b (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
