projects/linux·commit f92213ba

[PATCH] remove set_wmb - doc update

f92213ba · Steven Rostedt <[email protected]> · 2006-07-14 16:05:01 -04:00

This patch removes the reference to set_wmb from memory-barriers.txt
since it shouldn't be used.

Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
f92213bae062cf88c099fbfd3040fef512b19905
Parents
bb129994

Changes

1 files changed · +2 −3

FileStatusAddDelContent
Documentation/memory-barriers.txtmodified+2−3View file

Documentation/memory-barriers.txt

View file
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 28d1bc3..46b9b38 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.