qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Sergey Fedorov" <serge.fdrv@gmail.com>,
	"Jeff Epler" <jepler@gmail.com>,
	qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Richard Henderson" <rth@twiddle.net>,
	"Riku Voipio" <riku.voipio@iki.fi>,
	"Blue Swirl" <blauwirbel@gmail.com>
Subject: Re: [Qemu-devel] qemu-arm-static, multiprocess, atomic
Date: Thu, 26 May 2016 13:21:02 +0200	[thread overview]
Message-ID: <91b3837f-f61c-a7d4-5266-964e8e27a839@redhat.com> (raw)
In-Reply-To: <5746D31C.3070500@gmail.com>



On 26/05/2016 12:42, Sergey Fedorov wrote:
> I'm afraid even our recent efforts in
> multi-threaded TCG won't change the situation. The problem is that it
> would require to translate somehow ARM's exclusive access monitor to x86
> model.
> 

The cmpxchg-based variant would work.  It doesn't implement LL/SC
exactly, but it works fine if the program is written against GCC atomic
builtins.

Thanks,

Paolo

  reply	other threads:[~2016-05-26 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25 12:34 [Qemu-devel] qemu-arm-static, multiprocess, atomic Jeff Epler
2016-05-26 10:42 ` Sergey Fedorov
2016-05-26 11:21   ` Paolo Bonzini [this message]
2016-05-26 12:53     ` Sergey Fedorov
2016-05-26 15:16       ` Paolo Bonzini

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=91b3837f-f61c-a7d4-5266-964e8e27a839@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=blauwirbel@gmail.com \
    --cc=jepler@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=rth@twiddle.net \
    --cc=serge.fdrv@gmail.com \
    /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 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).