aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2017-10-12 12:20:48 +0000
committerIngo Molnar <[email protected]>2017-10-25 08:57:24 +0000
commit4df714be4dcf40bfb0d4af0f851a6e1977afa02e (patch)
tree48e4dfcb6fdd4fb4c4701ea52660dd6cbae9f0cf /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentlocking/qrwlock: Use 'struct qrwlock' instead of 'struct __qrwlock' (diff)
downloadkernel-4df714be4dcf40bfb0d4af0f851a6e1977afa02e.tar.gz
kernel-4df714be4dcf40bfb0d4af0f851a6e1977afa02e.zip
locking/atomic: Add atomic_cond_read_acquire()
smp_cond_load_acquire() provides a way to spin on a variable with acquire semantics until some conditional expression involving the variable is satisfied. Architectures such as arm64 can potentially enter a low-power state, waking up only when the value of the variable changes, which reduces the system impact of tight polling loops. This patch makes the same interface available to users of atomic_t, atomic64_t and atomic_long_t, rather than require messy accesses to the structure internals. Signed-off-by: Will Deacon <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Boqun Feng <[email protected]> Cc: [email protected] Cc: Linus Torvalds <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Waiman Long <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions