aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2021-06-01 10:58:32 +0200
committerPeter Zijlstra <[email protected]>2021-06-03 12:55:55 +0200
commitfcf6631f3736985ec89bdd76392d3c7bfb60119f (patch)
tree22924383c5f369cfcd524254379cf6f86a7b6dc1 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentf268c3737ecaefcfeecfb4cb5e44958a8976f067 (diff)
sched/pelt: Ensure that *_sum is always synced with *_avg
Rounding in PELT calculation happening when entities are attached/detached of a cfs_rq can result into situations where util/runnable_avg is not null but util/runnable_sum is. This is normally not possible so we need to ensure that util/runnable_sum stays synced with util/runnable_avg. detach_entity_load_avg() is the last place where we don't sync util/runnable_sum with util/runnbale_avg when moving some sched_entities Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions