Re: [PATCH 1/2] sched/eevdf: Always update V if se->on_rq when reweighting

From: Tianchen Ding
Date: Mon Mar 04 2024 - 21:14:46 EST


On 2024/3/4 20:06, Abel Wu wrote:
On 3/4/24 11:00 AM, Tianchen Ding Wrote:
reweight_eevdf() needs the latest V to do accurate calculation for new
ve and vd. So update V unconditionally when se is runnable.

As this should come along with commit eab03c23c2a1, I think it would
be better add a Fixes tag?


I'm not sure. In fact avg_vruntime_sub() in reweight_entity() was first introduced by af4cf40470c2, and at that time the algorithm about reweight was not completed...