From: Aurelien Jarno <aurelien@aurel32.net>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/7] alpha: Implement IMB; add placeholders for other userspace PALcalls.
Date: Sun, 13 Dec 2009 21:47:49 +0100 [thread overview]
Message-ID: <20091213204749.GD4281@volta.aurel32.net> (raw)
In-Reply-To: <4B25465A.8090002@twiddle.net>
On Sun, Dec 13, 2009 at 11:54:02AM -0800, Richard Henderson wrote:
> On 12/13/2009 11:28 AM, Aurelien Jarno wrote:
> >Is it really necessary to flush all the TB here? QEMU should already
> >discard TB that have been modified.
>
> No. But I meant to look into this more carefully with a view to
> disabling the other checking within QEMU and speed things up a tad.
> It seems to me that the explicit checking with each memory write
> ought to only be necessary on architectures like x86 that don't
> architecturally require a flush insn to be used.
This is actually done only on the first write access to a page and not
to each write, so it should not be so costly. It is however something
to investigate, as I agree that removing the checks can add some
speed-up.
> I can drop this fragment if necessary for patch acceptance, however.
>
I think it is better to drop it until we have a better view of the whole
thing. You can add a comment saying that an optimisation might be
possible here.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2009-12-13 20:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 0:05 [Qemu-devel] [PATCH 0/7] Improve alpha-linux userspace emulation Richard Henderson
2009-12-09 23:38 ` [Qemu-devel] [PATCH 1/7] alpha: Implement IMB; add placeholders for other userspace PALcalls Richard Henderson
2009-12-13 19:28 ` Aurelien Jarno
2009-12-13 19:54 ` Richard Henderson
2009-12-13 20:47 ` Aurelien Jarno [this message]
2009-12-09 23:39 ` [Qemu-devel] [PATCH 2/7] alpha: Drop bogus UNIQ initial value on Linux Richard Henderson
2009-12-09 23:40 ` [Qemu-devel] [PATCH 3/7] alpha: Add binfmt entry Richard Henderson
2009-12-09 23:44 ` [Qemu-devel] [PATCH 4/7] alpha: Remove bogus DO_TB_FLUSH code from translator Richard Henderson
2009-12-09 23:46 ` [Qemu-devel] [PATCH 5/7] alpha: Honor the -cpu command line argument Richard Henderson
2009-12-09 23:48 ` [Qemu-devel] [PATCH 6/7] alpha: Enable softfloat Richard Henderson
2009-12-09 23:56 ` [Qemu-devel] [PATCH 7/7] alpha: Fixes for alpha-linux syscalls Richard Henderson
2009-12-10 7:11 ` [Qemu-devel] [PATCH 0/7] Improve alpha-linux userspace emulation Laurent Desnogues
2009-12-10 16:54 ` Richard Henderson
2009-12-11 10:08 ` Tristan Gingold
2009-12-11 23:49 ` Richard Henderson
2009-12-13 19:46 ` Aurelien Jarno
2009-12-13 20:16 ` Andreas Färber
2009-12-14 0:43 ` Richard Henderson
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=20091213204749.GD4281@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).