Files
linux-stable-mirror/kernel/sched/ext.c
Tejun Heo 790ce73721 sched_ext: Make scx_group_set_weight() always update tg->scx.weight
[ Upstream commit c50784e99f ]

Otherwise, tg->scx.weight can go out of sync while scx_cgroup is not enabled
and ops.cgroup_init() may be called with a stale weight value.

Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 8195136669 ("sched_ext: Add cgroup support")
Cc: stable@vger.kernel.org # v6.12+
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 16:05:05 +02:00

209 KiB