UPSTREAM: 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: eab03c23 ("sched/eevdf: Fix vruntime adjustment on reweight") Suggested-by:Abel Wu <wuyun.abel@bytedance.com> Change-Id: I397f40d7722a2897c8d78b56a6b1de1f09764827 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 (cherry picked from commit 11b1b8bc) Bug: 336835203 Signed-off-by:
John Stultz <jstultz@google.com>
Loading
Please sign in to comment