diff options
author | Tejun Heo <tj@kernel.org> | 2016-03-03 09:57:59 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-03-03 09:57:59 -0500 |
commit | 1b9b96a12b5433ccc477265111122720ccb4965e (patch) | |
tree | adf76d451462fbd1e6bf26b4821948726fc5b4b6 /net/can | |
parent | 5531dc915ba10b78a80dcffa48d7360d3c0bab61 (diff) | |
download | linux-1b9b96a12b5433ccc477265111122720ccb4965e.tar.gz linux-1b9b96a12b5433ccc477265111122720ccb4965e.tar.bz2 linux-1b9b96a12b5433ccc477265111122720ccb4965e.zip |
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>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions