Skip to content

Commit 79afecf

Browse files
kvaneeshLinus Torvalds
authored andcommitted
[PATCH] Fix typos in Documentation/memory-barriers.txt
Fix some typos in Documentation/memory-barriers.txt Signed-off-by: Aneesh Kumar K.V <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent bfe2e93 commit 79afecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/memory-barriers.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ conflict on any particular lock.
10311031
LOCKS VS MEMORY ACCESSES
10321032
------------------------
10331033

1034-
Consider the following: the system has a pair of spinlocks (N) and (Q), and
1034+
Consider the following: the system has a pair of spinlocks (M) and (Q), and
10351035
three CPUs; then should the following sequence of events occur:
10361036

10371037
CPU 1 CPU 2
@@ -1678,7 +1678,7 @@ CPU's caches by some other cache event:
16781678
smp_wmb();
16791679
<A:modify v=2> <C:busy>
16801680
<C:queue v=2>
1681-
p = &b; q = p;
1681+
p = &v; q = p;
16821682
<D:request p>
16831683
<B:modify p=&v> <D:commit p=&v>
16841684
<D:read p>

0 commit comments

Comments
 (0)