diff options
author | Tejun Heo <tj@kernel.org> | 2025-06-13 13:23:07 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-06-17 08:19:43 -1000 |
commit | c50784e99f0e7199cdb12dbddf02229b102744ef (patch) | |
tree | 5473b1e221d49fceffc8c43a16777f198bb8a51d /kernel/bpf/arraymap.c | |
parent | 47096d301e39f96962ca1fd6c7b71bfa796c53db (diff) |
sched_ext: Make scx_group_set_weight() always update tg->scx.weight
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: 819513666966 ("sched_ext: Add cgroup support")
Cc: stable@vger.kernel.org # v6.12+
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions