diff options
author | 2013-12-06 15:11:56 -0500 | |
---|---|---|
committer | 2013-12-06 15:11:56 -0500 | |
commit | 9d403e99238ed6d7151a2c07db6cf8f6932ef3d5 (patch) | |
tree | dd97c3a1b82fe0f3ac66938c53af36a5b1d47ea8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: reorder operations in cgroup_create() (diff) | |
download | linux-dev-9d403e99238ed6d7151a2c07db6cf8f6932ef3d5.tar.xz linux-dev-9d403e99238ed6d7151a2c07db6cf8f6932ef3d5.zip |
cgroup: combine css handling loops in cgroup_create()
Now that css operations in cgroup_create() are back-to-back, there
isn't much point in allocating css's in one loop and onlining them in
another. Merge the two loops so that a css is allocated and onlined
on each iteration.
css_ar[] is no longer necessary and replaced with a single pointer.
This also simplifies the error handling path.
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