diff --git a/kernel/sched/core.c b/kernel/sched/core.c index b67a60d6150c..308c93c352ab 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7041,6 +7041,12 @@ static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) if (parent) sched_online_group(tg, parent); + +#ifdef CONFIG_UCLAMP_TASK_GROUP + /* Propagate the effective uclamp value for the new group */ + cpu_util_update_eff(css); +#endif + return 0; }