Commit 11b1b8b
sched/eevdf: Always update V if se->on_rq when reweighting
reweight_eevdf() needs the latest V to do accurate calculation for new
ve and vd. So update V unconditionally when se is runnable.
Fixes: eab03c2 ("sched/eevdf: Fix vruntime adjustment on reweight")
Suggested-by: Abel Wu <[email protected]>
Signed-off-by: Tianchen Ding <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Abel Wu <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Tested-by: Chen Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent ed30a4a commit 11b1b8b
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
3793 | | - | |
3794 | | - | |
3795 | | - | |
| 3793 | + | |
| 3794 | + | |
3796 | 3795 | | |
3797 | 3796 | | |
3798 | 3797 | | |
| |||
0 commit comments