From: Paolo Bonzini <pbonzini@redhat.com>
To: Sergey Fedorov <serge.fdrv@gmail.com>, qemu-devel@nongnu.org
Cc: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Subject: Re: [Qemu-devel] [PATCH v2] cpu-exec: Do not invalidate original TB in cpu_exec_nocache()
Date: Wed, 22 Jul 2015 13:45:32 +0200 [thread overview]
Message-ID: <55AF825C.1080705@redhat.com> (raw)
In-Reply-To: <55AF3513.5000208@gmail.com>
On 22/07/2015 08:15, Sergey Fedorov wrote:
> ping.
Hi, this patch was a bit late for QEMU 2.4, but it will be included in 2.5.
Paolo
> On 30.06.2015 12:35, Sergey Fedorov wrote:
>> > Instead of invalidating an original TB in cpu_exec_nocache()
>> > prematurely, just save a link to it in the temporary generated TB. If
>> > cpu_io_recompile() is raised subsequently from the temporary TB,
>> > invalidate the original one as well. That allows reusing the original TB
>> > each time cpu_exec_nocache() is called to handle expired instruction
>> > counter in icount mode.
>> >
>> > Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
>> > ---
>> >
>> > v2:
>> > * take tcg_ctx.tb_ctx.tb_invalidated_flag into account
prev parent reply other threads:[~2015-07-22 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 9:35 [Qemu-devel] [PATCH v2] cpu-exec: Do not invalidate original TB in cpu_exec_nocache() Sergey Fedorov
2015-07-22 6:15 ` Sergey Fedorov
2015-07-22 11:45 ` Paolo Bonzini [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=55AF825C.1080705@redhat.com \
--to=pbonzini@redhat.com \
--cc=Pavel.Dovgaluk@ispras.ru \
--cc=qemu-devel@nongnu.org \
--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).