diff options
author | Will Deacon <will.deacon@arm.com> | 2017-10-24 12:22:47 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-10-24 13:17:32 +0200 |
commit | 76ebbe78f7390aee075a7f3768af197ded1bdfbb (patch) | |
tree | 531d3794d965b8e4e8107d8dbd1b124cbf3dbca5 /Documentation/memory-barriers.txt | |
parent | linux/compiler.h: Split into compiler.h and compiler_types.h (diff) | |
download | linux-76ebbe78f7390aee075a7f3768af197ded1bdfbb.tar.xz linux-76ebbe78f7390aee075a7f3768af197ded1bdfbb.zip |
locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
In preparation for the removal of lockless_dereference(), which is the
same as READ_ONCE() on all architectures other than Alpha, add an
implicit smp_read_barrier_depends() to READ_ONCE() so that it can be
used to head dependency chains on all architectures.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1508840570-22169-3-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions