diff options
author | 2013-06-12 21:04:55 -0700 | |
---|---|---|
committer | 2013-06-13 10:55:18 -0700 | |
commit | 6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598 (patch) | |
tree | 662fa290a077ebe5113c877040cb4b891b72d311 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: drop unnecessary RCU dancing from __put_css_set() (diff) | |
download | linux-dev-6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598.tar.xz linux-dev-6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598.zip |
cgroup: remove cgroup->count and use
cgroup->count tracks the number of css_sets associated with the cgroup
and used only to verify that no css_set is associated when the cgroup
is being destroyed. It's superflous as the destruction path can
simply check whether cgroup->cset_links is empty instead.
Drop cgroup->count and check ->cset_links directly from
cgroup_destroy_locked().
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions