diff options
authorAndrea Parri <>2018-09-26 11:29:20 -0700
committerIngo Molnar <>2018-10-02 10:28:05 +0200
commit2f359c7ea554ba9cb78a52c82bedff351cdabd2b (patch)
parentd8fa25c4efde0e5f31a427202e583d73d3f021c4 (diff)
locking/memory-barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()
Amend the changes in commit: 1f03e8d2919270 ("locking/barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()") ... by updating the documentation accordingly. Also remove some obsolete information related to the implementation. Signed-off-by: Andrea Parri <> Signed-off-by: Paul E. McKenney <> Acked-by: Will Deacon <> Acked-by: Alan Stern <> Cc: Akira Yokosawa <> Cc: Alexander Shishkin <> Cc: Arnaldo Carvalho de Melo <> Cc: Boqun Feng <> Cc: Daniel Lustig <> Cc: David Howells <> Cc: Jade Alglave <> Cc: Jiri Olsa <> Cc: Jonathan Corbet <> Cc: Linus Torvalds <> Cc: Luc Maranget <> Cc: Nicholas Piggin <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Cc: Thomas Gleixner <> Cc: Vince Weaver <> Cc: Cc: Link: Signed-off-by: Ingo Molnar <>
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 0d8d7ef131e9..c1d913944ad8 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -471,8 +471,7 @@ And a couple of implicit varieties:
operations after the ACQUIRE operation will appear to happen after the
ACQUIRE operation with respect to the other components of the system.
ACQUIRE operations include LOCK operations and both smp_load_acquire()
- and smp_cond_acquire() operations. The later builds the necessary ACQUIRE
- semantics from relying on a control dependency and smp_rmb().
+ and smp_cond_load_acquire() operations.
Memory operations that occur before an ACQUIRE operation may appear to
happen after it completes.