X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=Documentation%2Fmemory-barriers.txt;h=ba818ecce6f99508f1136a0eb0d3ee07eee74715;hb=b80c232a6e5195cbb6b8820f53be4c1ca0e86d6a;hp=a4d0a99de04da76d62bc0ceebae88fd5283473e4;hpb=ae4860b5333586b60ca1798f3f83b8b37520904c;p=deliverable%2Flinux.git diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index a4d0a99de04d..ba818ecce6f9 100644 --- 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 @@ -1928,6 +1928,7 @@ There are some more advanced barrier functions: See Documentation/DMA-API.txt for more information on consistent memory. + MMIO WRITE BARRIER ------------------ @@ -2075,7 +2076,7 @@ systems, and so cannot be counted on in such a situation to actually achieve anything at all - especially with respect to I/O accesses - unless combined with interrupt disabling operations. -See also the section on "Inter-CPU locking barrier effects". +See also the section on "Inter-CPU acquiring barrier effects". As an example, consider the following: