* [Qemu-devel] [PATCH] docs/atomics.txt: fix two typos
@ 2015-04-27 11:32 Laszlo Ersek
2015-04-27 11:56 ` Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Laszlo Ersek @ 2015-04-27 11:32 UTC (permalink / raw)
To: qemu-devel, qemu-trivial, lersek
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
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
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] docs/atomics.txt: fix two typos
2015-04-27 11:32 [Qemu-devel] [PATCH] docs/atomics.txt: fix two typos Laszlo Ersek
@ 2015-04-27 11:56 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2015-04-27 11:56 UTC (permalink / raw)
To: Laszlo Ersek, qemu-devel, qemu-trivial
Applied to -trivial, thank you!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-27 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 11:32 [Qemu-devel] [PATCH] docs/atomics.txt: fix two typos Laszlo Ersek
2015-04-27 11:56 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).