mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
bb129994c3
commit
f92213bae0
1 changed files with 2 additions and 3 deletions
|
@ -1015,10 +1015,9 @@ CPU from reordering them.
|
||||||
There are some more advanced barrier functions:
|
There are some more advanced barrier functions:
|
||||||
|
|
||||||
(*) set_mb(var, value)
|
(*) set_mb(var, value)
|
||||||
(*) set_wmb(var, value)
|
|
||||||
|
|
||||||
These assign the value to the variable and then insert at least a write
|
This assigns the value to the variable and then inserts at least a write
|
||||||
barrier after it, depending on the function. They aren't guaranteed to
|
barrier after it, depending on the function. It isn't guaranteed to
|
||||||
insert anything more than a compiler barrier in a UP compilation.
|
insert anything more than a compiler barrier in a UP compilation.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue