Skip to content

Commit

Permalink
[PATCH] remove set_wmb - doc update
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Linus Torvalds committed Jul 15, 2006
1 parent bb12999 commit f92213b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Documentation/memory-barriers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down

0 comments on commit f92213b

Please sign in to comment.