Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8722907 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/uclamp: Fix a bug in propagating uclamp value in new cgroups"

parents 26a964da 8bcb7b20
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7444,6 +7444,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;
}