提交 f92213ba 编写于 作者: S Steven Rostedt 提交者: Linus Torvalds

[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: NSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bb129994
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册