Skip to content
Commit 5154b1e3 authored by Tianchen Ding's avatar Tianchen Ding Committed by Greg Kroah-Hartman
Browse files

sched/eevdf: Always update V if se->on_rq when reweighting

[ Upstream commit 11b1b8bc ]

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: default avatarAbel Wu <wuyun.abel@bytedance.com>
Signed-off-by: default avatarTianchen Ding <dtcccc@linux.alibaba.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarAbel Wu <wuyun.abel@bytedance.com>
Tested-by: default avatarK Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: default avatarChen Yu <yu.c.chen@intel.com>
Link: https://lore.kernel.org/r/20240306022133.81008-2-dtcccc@linux.alibaba.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cf89c33a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment