diff options
author | Tianchen Ding <dtcccc@linux.alibaba.com> | 2024-03-06 10:21:32 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-04-22 13:01:26 +0200 |
commit | 11b1b8bc2b98e21ddf47e08b56c21502c685b2c3 (patch) | |
tree | 6a75d602f877937fc066689f4da536b507504ed7 /net/unix/unix_bpf.c | |
parent | ed30a4a51bb196781c8058073ea720133a65596f (diff) |
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: eab03c23c2a1 ("sched/eevdf: Fix vruntime adjustment on reweight")
Suggested-by: Abel Wu <wuyun.abel@bytedance.com>
Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Abel Wu <wuyun.abel@bytedance.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Link: https://lore.kernel.org/r/20240306022133.81008-2-dtcccc@linux.alibaba.com
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions