summaryrefslogtreecommitdiffstats
path: root/Documentation/memory-barriers.txt
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2006-07-14 22:05:01 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 06:56:14 +0200
commitf92213bae062cf88c099fbfd3040fef512b19905 (patch)
treed4bc2ba0cae7dbad57ccc3e6bfe166db82ee2896 /Documentation/memory-barriers.txt
parent[PATCH] Remove down_write() from taskstats code invoked on the exit() path (diff)
downloadlinux-f92213bae062cf88c099fbfd3040fef512b19905.tar.xz
linux-f92213bae062cf88c099fbfd3040fef512b19905.zip
[PATCH] remove set_wmb - doc update
This patch removes the reference to set_wmb from memory-barriers.txt since it shouldn't be used. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--Documentation/memory-barriers.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 28d1bc3edb1c..46b9b389df35 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -1015,10 +1015,9 @@ CPU from reordering them.
There are some more advanced barrier functions:
(*) set_mb(var, value)
- (*) set_wmb(var, value)
- These assign the value to the variable and then insert at least a write
- barrier after it, depending on the function. They aren't guaranteed to
+ This assigns the value to the variable and then inserts at least a write
+ barrier after it, depending on the function. It isn't guaranteed to
insert anything more than a compiler barrier in a UP compilation.