diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-10-27 15:53:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-12-04 05:39:51 -0500 |
commit | 2d142e599bf73ab70a3457e6947f86935245415e (patch) | |
tree | c62bed26e7294c2a05c85d007815de119f3aa93c | |
parent | d5a73cadf3fdec95e9518ee5bb91bd0747c42b30 (diff) |
locking/barriers, arch: Remove ambiguous statement in the smp_store_mb() documentation
It serves no purpose but to confuse readers, and is most
likely a left over from constant memory-barriers.txt
updates. I.e.:
http://lists.openwall.net/linux-kernel/2006/07/15/27
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <linux-arch@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
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/1445975631-17047-5-git-send-email-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | Documentation/memory-barriers.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index aef9487303d0..c85054dc4460 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt | |||
@@ -1673,8 +1673,8 @@ There are some more advanced barrier functions: | |||
1673 | (*) smp_store_mb(var, value) | 1673 | (*) smp_store_mb(var, value) |
1674 | 1674 | ||
1675 | This assigns the value to the variable and then inserts a full memory | 1675 | This assigns the value to the variable and then inserts a full memory |
1676 | barrier after it, depending on the function. It isn't guaranteed to | 1676 | barrier after it. It isn't guaranteed to insert anything more than a |
1677 | insert anything more than a compiler barrier in a UP compilation. | 1677 | compiler barrier in a UP compilation. |
1678 | 1678 | ||
1679 | 1679 | ||
1680 | (*) smp_mb__before_atomic(); | 1680 | (*) smp_mb__before_atomic(); |