Commit c50784e
committed
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 <[email protected]>
Fixes: 8195136 ("sched_ext: Add cgroup support")
Cc: [email protected] # v6.12+1 parent 47096d3 commit c50784e
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4241 | 4241 | | |
4242 | 4242 | | |
4243 | 4243 | | |
4244 | | - | |
4245 | | - | |
4246 | | - | |
4247 | | - | |
4248 | | - | |
4249 | | - | |
| 4244 | + | |
| 4245 | + | |
| 4246 | + | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
4250 | 4250 | | |
4251 | 4251 | | |
4252 | 4252 | | |
| |||
0 commit comments