From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Mark Burton <mark.burton@greensocs.com>,
Developers qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Atomic Instructions - comments please
Date: Mon, 15 Dec 2014 14:46:59 +0100 [thread overview]
Message-ID: <548EE653.9020409@redhat.com> (raw)
In-Reply-To: <CAFEAcA_VQyS-yx6PEYKQZ93+9Kpr3cOfC0ESx7mM2XGv2RAJSA@mail.gmail.com>
On 15/12/2014 14:39, Peter Maydell wrote:
>> >
>> > How would "add a mutex" work unless you add a mutex or CAS to each and
>> > every qemu_st operation?
> Same way our current approach works -- we simply don't implement
> "stores interrupt ll/sc operations": only a store-conditional
> can break a load-locked's lock. In practice this works ok
> because the stereotypical sequences that guests use don't rely
> on this part of the spec.
Makes sense, thanks!
Paolo
next prev parent reply other threads:[~2014-12-15 13:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 12:56 [Qemu-devel] Atomic Instructions - comments please Mark Burton
2014-12-15 13:16 ` Paolo Bonzini
2014-12-15 13:23 ` Peter Maydell
2014-12-15 13:28 ` Paolo Bonzini
2014-12-15 13:36 ` Peter Maydell
2014-12-15 14:09 ` Peter Maydell
2014-12-15 13:28 ` Peter Maydell
2014-12-15 13:32 ` Paolo Bonzini
2014-12-15 13:37 ` Mark Burton
2014-12-15 13:39 ` Peter Maydell
2014-12-15 13:43 ` Mark Burton
2014-12-15 13:46 ` Paolo Bonzini [this message]
2014-12-15 13:35 ` Mark Burton
2014-12-15 18:15 ` Lluís Vilanova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=548EE653.9020409@redhat.com \
--to=pbonzini@redhat.com \
--cc=mark.burton@greensocs.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.