From: Andrea Parri <andrea.pa...@amarulasolutions.com> Amend 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 <andrea.pa...@amarulasolutions.com> Cc: Alan Stern <st...@rowland.harvard.edu> Cc: Will Deacon <will.dea...@arm.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Boqun Feng <boqun.f...@gmail.com> Cc: Nicholas Piggin <npig...@gmail.com> Cc: David Howells <dhowe...@redhat.com> Cc: Jade Alglave <j.algl...@ucl.ac.uk> Cc: Luc Maranget <luc.maran...@inria.fr> Cc: "Paul E. McKenney" <paul...@linux.vnet.ibm.com> Cc: Akira Yokosawa <aki...@gmail.com> Cc: Daniel Lustig <dlus...@nvidia.com> Cc: Jonathan Corbet <cor...@lwn.net> Signed-off-by: Paul E. McKenney <paul...@linux.vnet.ibm.com> --- Documentation/memory-barriers.txt | 3 +-- 1 file changed, 1 insertion(+), 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. -- 2.17.1