aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTianchen Ding <[email protected]>2024-03-06 02:21:33 +0000
committerPeter Zijlstra <[email protected]>2024-04-22 11:01:26 +0000
commitafae8002b4fd3560c8f5f1567f3c3202c30a70fa (patch)
tree0c2bb2420c07352f18b64f7a7ca3fed7f1c81ab7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentsched/eevdf: Always update V if se->on_rq when reweighting (diff)
downloadkernel-afae8002b4fd3560c8f5f1567f3c3202c30a70fa.tar.gz
kernel-afae8002b4fd3560c8f5f1567f3c3202c30a70fa.zip
sched/eevdf: Fix miscalculation in reweight_entity() when se is not curr
reweight_eevdf() only keeps V unchanged inside itself. When se != cfs_rq->curr, it would be dequeued from rb tree first. So that V is changed and the result is wrong. Pass the original V to reweight_eevdf() to fix this issue. Fixes: eab03c23c2a1 ("sched/eevdf: Fix vruntime adjustment on reweight") Signed-off-by: Tianchen Ding <[email protected]> [peterz: flip if() condition for clarity] Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Abel Wu <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions