aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-05-22 23:52:18 +0000
committerSean Christopherson <[email protected]>2025-06-23 16:50:58 +0000
commit0d09582b3a607436fd91d6ce813048a048ecbf10 (patch)
tree5e8d7a18bf471c026f94c190b365d040ba1eec40 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentxen: privcmd: Don't mark eventfd waiter as EXCLUSIVE (diff)
downloadkernel-0d09582b3a607436fd91d6ce813048a048ecbf10.tar.gz
kernel-0d09582b3a607436fd91d6ce813048a048ecbf10.zip
sched/wait: Add a waitqueue helper for fully exclusive priority waiters
Add a waitqueue helper to add a priority waiter that requires exclusive wakeups, i.e. that requires that it be the _only_ priority waiter. The API will be used by KVM to ensure that at most one of KVM's irqfds is bound to a single eventfd (across the entire kernel). Open code the helper instead of using __add_wait_queue() so that the common path doesn't need to "handle" impossible failures. Cc: K Prateek Nayak <[email protected]> Reviewed-by: K Prateek Nayak <[email protected]> Tested-by: K Prateek Nayak <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions