[PATCH] A minor fix for set_mb() in Documentation/memory-barriers.txt
Changes
1 files changed · +1 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| Documentation/memory-barriers.txt | modified | +1 | −1 | View file |
Documentation/memory-barriers.txt
View filediff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 7f790f6..7751704 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -1016,7 +1016,7 @@ There are some more advanced barrier functions:
(*) set_mb(var, value)
- This assigns the value to the variable and then inserts at least a write
+ This assigns the value to the variable and then inserts a full memory
barrier after it, depending on the function. It isn't guaranteed to
insert anything more than a compiler barrier in a UP compilation.