]> Git Repo - linux.git/commit
locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
authorWill Deacon <[email protected]>
Tue, 24 Oct 2017 10:22:47 +0000 (11:22 +0100)
committerIngo Molnar <[email protected]>
Tue, 24 Oct 2017 11:17:32 +0000 (13:17 +0200)
commit76ebbe78f7390aee075a7f3768af197ded1bdfbb
tree531d3794d965b8e4e8107d8dbd1b124cbf3dbca5
parentd15155824c5014803d91b829736d249c500bdda6
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/compiler.h
This page took 0.046953 seconds and 4 git commands to generate.