Re: [PATCH 2/2] cgroup: Skip subtree root in cgroup_update_dfl_csses()

From: Tejun Heo
Date: Thu Jul 28 2022 - 13:27:34 EST


On Wed, Jul 27, 2022 at 08:58:15PM -0400, Waiman Long wrote:
> 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@xxxxxxxxxx>

Applied to cgroup/for-5.20.

Thanks.

--
tejun