From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Jakub Jermar <jakub@jermar.eu>, Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] Atomicity of i386 guest atomic instructions
Date: Wed, 28 Apr 2010 23:27:34 +0100 [thread overview]
Message-ID: <201004282327.34694.paul@codesourcery.com> (raw)
In-Reply-To: <20100424024902.GI15349@shareable.org>
> Alexander Graf wrote:
> > They should be atomic. TCG SMP swaps between different vCPUs only
> > after translation blocks are done. In fact, the only way I'm aware
> > of to stop the execution of a TB mid-way is a page fault.
>
> A page fault would interrupt it if the atomic is implemented as
> a read followed by a write, and the write faults.
Yes, but in that case the whole instruction should be abandoned.
Paul
prev parent reply other threads:[~2010-04-28 22:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 17:27 [Qemu-devel] Atomicity of i386 guest atomic instructions Jakub Jermar
2010-04-23 20:57 ` Alexander Graf
2010-04-24 2:49 ` Jamie Lokier
2010-04-28 22:27 ` Paul Brook [this message]
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=201004282327.34694.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=agraf@suse.de \
--cc=jakub@jermar.eu \
--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.