diff options
author | 2013-04-14 11:36:58 -0700 | |
---|---|---|
committer | 2013-05-14 11:42:07 -0700 | |
commit | 1a574231669f8c3065c83974e9557fcbbd94b8a6 (patch) | |
tree | 1f2f0bc767f0fae3c5e5c28e3274733d4bf0fb07 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cgroup: drop hierarchy_id_lock (diff) | |
download | linux-dev-1a574231669f8c3065c83974e9557fcbbd94b8a6.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions