diff options
| author | Tejun Heo <tj@kernel.org> | 2016-03-03 09:57:59 -0500 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:57 +0300 |
| commit | bb3797f357994b6c92880c6bce1d5117be23f363 (patch) | |
| tree | 2df1e4ee4aca8523222833daaf55f9517d8fb133 /tools/perf/scripts/python | |
| parent | e4c0b90270f01cd14537e8dc994982af54140db0 (diff) | |
cgroup: factor out cgroup_drain_offline() from cgroup_subtree_control_write()
Factor out async css offline draining into cgroup_drain_offline().
* Nest subsystem walk inside child walk. The child walk will later be
converted to subtree walk which is a bit more expensive.
* Relocate the draining above subsystem mask preparation, which
doesn't create any behavior differences but helps further
refactoring.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
