[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 21/42] docs/atomics.txt: fix two typos
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 21/42] docs/atomics.txt: fix two typos |
Date: |
Thu, 30 Apr 2015 08:08:34 +0300 |
From: Laszlo Ersek <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Laszlo Ersek <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
docs/atomics.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/atomics.txt b/docs/atomics.txt
index 6f2997b..ef285e3 100644
--- a/docs/atomics.txt
+++ b/docs/atomics.txt
@@ -281,7 +281,7 @@ note that the other barrier may actually be in a driver
that runs in
the guest!
For the purposes of pairing, smp_read_barrier_depends() and smp_rmb()
-both count as read barriers. A read barriers shall pair with a write
+both count as read barriers. A read barrier shall pair with a write
barrier or a full barrier; a write barrier shall pair with a read
barrier or a full barrier. A full barrier can pair with anything.
For example:
@@ -294,7 +294,7 @@ For example:
smp_rmb();
y = a;
-Note that the "writing" thread are accessing the variables in the
+Note that the "writing" thread is accessing the variables in the
opposite order as the "reading" thread. This is expected: stores
before the write barrier will normally match the loads after the
read barrier, and vice versa. The same is true for more than 2
--
2.1.4
- [Qemu-trivial] [PULL 37/42] qmp-commands: Fix typo, (continued)
- [Qemu-trivial] [PULL 37/42] qmp-commands: Fix typo, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 04/42] ui/vnc : fix coding style, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 06/42] ui/console : remove 'struct' from 'typedef struct' type, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 08/42] misc: Fix new collection of typos, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 33/42] qemu-char: remove unused list node from FDCharDriver, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 34/42] coroutine: remove unnecessary parentheses in qemu_co_queue_empty, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 11/42] tpm: fix coding style, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 15/42] pci: Remove unused function ich9_d2pbr_init(), Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 22/42] libcacard: stop including qemu-common.h, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition, Michael Tokarev, 2015/04/30
- [Qemu-trivial] [PULL 21/42] docs/atomics.txt: fix two typos,
Michael Tokarev <=
- Re: [Qemu-trivial] [Qemu-devel] [PULL 00/42] Trivial patches for 2015-04-30, Peter Maydell, 2015/04/30
[Qemu-trivial] [PULL 00/42] Trivial patches for 2015-04-30, Michael Tokarev, 2015/04/30