summary refs log tree commit diff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-10-30 16:50:10 +0000
committerWill Deacon <will@kernel.org>2020-07-21 10:50:35 +0100
commitd6462858851549c62d73eaa14b31132b0f32d6b6 (patch)
tree058dbd3fd192d8e00b621b1fbbb9e4995c37093b /Documentation/gpu
parentb78b331a3f5c0773171dadd6bbfa2a2242b45604 (diff)
downloadlinux-d6462858851549c62d73eaa14b31132b0f32d6b6.tar.gz
alpha: Override READ_ONCE() with barriered implementation
Rather then relying on the core code to use smp_read_barrier_depends()
as part of the READ_ONCE() definition, instead override __READ_ONCE()
in the Alpha code so that it generates the required mb() and then
implement smp_load_acquire() using the new macro to avoid redundant
back-to-back barriers from the generic implementation.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions