On Wed, Jul 27, 2022 at 08:58:15PM -0400, Waiman Long <longman@xxxxxxxxxx> wrote:It is more an optimization patch trying to not waste cpu time doing unnecessary work.
The cgroup_update_dfl_csses() function updates css associations when aI find this correct.
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.Alone it's not such a big win but it componds with the recent Tejun's
We can skip them instead.
threadgroup_rwsem elision.
Thanks for the review.---Feel free to have
kernel/cgroup/cgroup.c | 9 +++++++++
1 file changed, 9 insertions(+)
Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>