aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2021-05-27 14:29:15 +0200
committerPeter Zijlstra <[email protected]>2021-05-31 10:14:48 +0200
commit7c7ad626d9a0ff0a36c1e2a3cfbbc6a13828d5eb (patch)
treef74118a3d213e6dbe4b53a790f80f681d72e8db5 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent8124c8a6b35386f73523d27eacb71b5364a68c4c (diff)
sched/fair: Keep load_avg and load_sum synced
when removing a cfs_rq from the list we only check _sum value so we must ensure that _avg and _sum stay synced so load_sum can't be null whereas load_avg is not after propagating load in the cgroup hierarchy. Use load_avg to compute load_sum similarly to what is done for util_sum and runnable_sum. Fixes: 0e2d2aaaae52 ("sched/fair: Rewrite PELT migration propagation") Reported-by: Odin Ugedal <[email protected]> Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Odin Ugedal <[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