diff options
author | Tianchen Ding <dtcccc@linux.alibaba.com> | 2024-03-06 05:21:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-02 17:35:34 +0300 |
commit | 5154b1e37231a766f1d24fda9da6fd2b2f0d555f (patch) | |
tree | bbfa767a1e38f5a38ab5c03a502b26f3f4e9c786 /security/safesetid/Makefile | |
parent | cf89c33a92036a606a1e9b463834c9b57ea7caa6 (diff) | |
download | linux-5154b1e37231a766f1d24fda9da6fd2b2f0d555f.tar.xz |
sched/eevdf: Always update V if se->on_rq when reweighting
[ Upstream commit 11b1b8bc2b98e21ddf47e08b56c21502c685b2c3 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/safesetid/Makefile')
0 files changed, 0 insertions, 0 deletions