Commit 79afecfa authored by Aneesh Kumar's avatar Aneesh Kumar Committed by Linus Torvalds

[PATCH] Fix typos in Documentation/memory-barriers.txt

Fix some typos in Documentation/memory-barriers.txt
Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bfe2e934
...@@ -1031,7 +1031,7 @@ conflict on any particular lock. ...@@ -1031,7 +1031,7 @@ conflict on any particular lock.
LOCKS VS MEMORY ACCESSES LOCKS VS MEMORY ACCESSES
------------------------ ------------------------
Consider the following: the system has a pair of spinlocks (N) and (Q), and Consider the following: the system has a pair of spinlocks (M) and (Q), and
three CPUs; then should the following sequence of events occur: three CPUs; then should the following sequence of events occur:
CPU 1 CPU 2 CPU 1 CPU 2
...@@ -1678,7 +1678,7 @@ CPU's caches by some other cache event: ...@@ -1678,7 +1678,7 @@ CPU's caches by some other cache event:
smp_wmb(); smp_wmb();
<A:modify v=2> <C:busy> <A:modify v=2> <C:busy>
<C:queue v=2> <C:queue v=2>
p = &b; q = p; p = &v; q = p;
<D:request p> <D:request p>
<B:modify p=&v> <D:commit p=&v> <B:modify p=&v> <D:commit p=&v>
<D:read p> <D:read p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment