From: Paolo Bonzini <pbonzini@redhat.com>
To: Frederic Konrad <fred.konrad@greensocs.com>,
qemu-devel <qemu-devel@nongnu.org>,
mttcg@greensocs.com
Cc: Peter Maydell <peter.maydell@linaro.org>,
Mark Burton <mark.burton@greensocs.com>
Subject: Re: [Qemu-devel] Thread local TCGContext.
Date: Wed, 28 Jan 2015 16:17:16 +0100 [thread overview]
Message-ID: <54C8FD7C.8040907@redhat.com> (raw)
In-Reply-To: <54C8FA7B.3050501@greensocs.com>
On 28/01/2015 16:04, Frederic Konrad wrote:
>
>
> /* code generation context */
> -TCGContext tcg_ctx;
> +__thread TCGContext tcg_ctx;
>
> But the big problem is the initialisation, it's done only onetime in the
> iothread with
> the accelerator..
You need to move it to qemu_tcg_cpu_thread_fn.
Paolo
next prev parent reply other threads:[~2015-01-28 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 15:04 [Qemu-devel] Thread local TCGContext Frederic Konrad
2015-01-28 15:17 ` Paolo Bonzini [this message]
2015-01-28 15:27 ` Frederic Konrad
2015-01-28 15:30 ` 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=54C8FD7C.8040907@redhat.com \
--to=pbonzini@redhat.com \
--cc=fred.konrad@greensocs.com \
--cc=mark.burton@greensocs.com \
--cc=mttcg@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 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).