diff options
author | Waiman Long <longman@redhat.com> | 2022-07-27 20:58:15 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-07-28 07:26:30 -1000 |
commit | 265792d0dede9259f0ca56bb3efcc23eceee7d01 (patch) | |
tree | d3a6d2f86d4061c619ebc42c5ebcdfea00b812e9 /init | |
parent | c808f4632349bda65b2ec41220f0a2035f780619 (diff) |
cgroup: Skip subtree root in cgroup_update_dfl_csses()
The cgroup_update_dfl_csses() function updates css associations when a
cgroup's subtree_control file is modified. Any changes made to a cgroup's
subtree_control file, however, will only affect its descendants but not
the cgroup itself. So there is no point in migrating csses associated
with that cgroup. We can skip them instead.
Signed-off-by: Waiman Long <longman@redhat.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions