diff options
| author | Miaohe Lin <[email protected]> | 2023-06-20 08:07:47 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2023-07-10 07:52:30 +0000 |
| commit | ae2ad293d6be143ad223f5f947cca07bcbe42595 (patch) | |
| tree | d1a7e79649f7208dcea264bdfdf3961292727cff /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | Linux 6.5-rc1 (diff) | |
| download | kernel-ae2ad293d6be143ad223f5f947cca07bcbe42595.tar.gz kernel-ae2ad293d6be143ad223f5f947cca07bcbe42595.zip | |
sched/fair: Use recent_used_cpu to test p->cpus_ptr
When checking whether a recently used CPU can be a potential idle
candidate, recent_used_cpu should be used to test p->cpus_ptr as
p->recent_used_cpu is not equal to recent_used_cpu and candidate
decision is made based on recent_used_cpu here.
Fixes: 89aafd67f28c ("sched/fair: Use prev instead of new target as recent_used_cpu")
Signed-off-by: Miaohe Lin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Phil Auld <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
