projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7cab36
)
locking/Documentation: Fix a typo of example result
author
SeongJae Park
<
[email protected]
>
Thu, 11 Aug 2016 18:17:42 +0000
(11:17 -0700)
committer
Ingo Molnar
<
[email protected]
>
Fri, 12 Aug 2016 06:24:13 +0000
(08:24 +0200)
An example result for data dependent write has a typo. This commit
fixes the wrong typo.
Signed-off-by: SeongJae Park <
[email protected]
>
Signed-off-by: Paul E. McKenney <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
Documentation/memory-barriers.txt
patch
|
blob
|
history
diff --git
a/Documentation/memory-barriers.txt
b/Documentation/memory-barriers.txt
index 19c8eb6f246e18ecab50812af6d14bab85aa98da..ba818ecce6f99508f1136a0eb0d3ee07eee74715 100644
(file)
--- a/
Documentation/memory-barriers.txt
+++ b/
Documentation/memory-barriers.txt
@@
-609,7
+609,7
@@
A data-dependency barrier must also order against dependent writes:
The data-dependency barrier must order the read into Q with the store
into *Q. This prohibits this outcome:
- (Q == B) && (B == 4)
+ (Q ==
&
B) && (B == 4)
Please note that this pattern should be rare. After all, the whole point
of dependency ordering is to -prevent- writes to the data structure, along