aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorXuewen Yan <[email protected]>2025-03-03 10:52:39 +0000
committerPeter Zijlstra <[email protected]>2025-05-21 11:57:37 +0000
commitaa3ee4f0b7541382c9f6f43f7408d73a5d4f4042 (patch)
treed299652f5cb375ffacc5aedbf451c8bf3efde80a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentsched,livepatch: Untangle cond_resched() and live-patching (diff)
downloadkernel-aa3ee4f0b7541382c9f6f43f7408d73a5d4f4042.tar.gz
kernel-aa3ee4f0b7541382c9f6f43f7408d73a5d4f4042.zip
sched/fair: Fixup wake_up_sync() vs DELAYED_DEQUEUE
Delayed dequeued feature keeps a sleeping task enqueued until its lag has elapsed. As a result, it stays also visible in rq->nr_running. So when in wake_affine_idle(), we should use the real running-tasks in rq to check whether we should place the wake-up task to current cpu. On the other hand, add a helper function to return the nr-delayed. Fixes: 152e11f6df29 ("sched/fair: Implement delayed dequeue") Signed-off-by: Xuewen Yan <[email protected]> Reviewed-and-tested-by: Tianchen Ding <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions