From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Dr. David Alan Gilbert" <david.gilbert@linaro.org>,
"Andreas Färber" <afaerber@suse.de>,
"Jan Kiszka" <jan.kiszka@siemens.com>,
patches@linaro.org
Subject: [Qemu-devel] [PATCH v3 0/3] TLS abstraction layer for thread-local cpu_single_env on Linux
Date: Fri, 28 Oct 2011 10:52:39 +0100 [thread overview]
Message-ID: <1319795562-18091-1-git-send-email-peter.maydell@linaro.org> (raw)
These patches add enough of the TLS abstraction layer to allow us
to make cpu_single_env thread-local on Linux systems. This fixes
the regression described in bug 823902 for the 1.0 release; we
can add the Win32 and POSIX implementations later.
I haven't included Paolo's "Prepare Windows port for thread-local
cpu_single_env" patch -- it would be safe to do so but it isn't
necessary until we actually implement TLS for Win32.
Changes v1->v2:
* fix Paolo's email address
* split the darwin-user change out into a separate patch
* drop the 'tls_' prefix from the cpu_single_env tls var name
Changes v2->v3:
* minor rearrangement of copyright notice in comment
* added a missing Signed-off-by
* fixed the name of the multiple-include-guard #define
Paolo Bonzini (2):
darwin-user/main.c: Drop unused cpu_single_env definition
Make cpu_single_env thread-local
Peter Maydell (1):
qemu-tls.h: Add abstraction layer for TLS variables
cpu-all.h | 4 +++-
darwin-user/main.c | 2 --
exec.c | 2 +-
qemu-tls.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 56 insertions(+), 4 deletions(-)
create mode 100644 qemu-tls.h
next reply other threads:[~2011-10-28 9:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 9:52 Peter Maydell [this message]
2011-10-28 9:52 ` [Qemu-devel] [PATCH v3 1/3] qemu-tls.h: Add abstraction layer for TLS variables Peter Maydell
2011-10-28 9:52 ` [Qemu-devel] [PATCH v3 2/3] darwin-user/main.c: Drop unused cpu_single_env definition Peter Maydell
2011-10-28 9:52 ` [Qemu-devel] [PATCH v3 3/3] Make cpu_single_env thread-local Peter Maydell
2011-10-31 13:40 ` [Qemu-devel] [PATCH v3 0/3] TLS abstraction layer for thread-local cpu_single_env on Linux Peter Maydell
2011-10-31 17:28 ` Jan Kiszka
2011-10-31 18:08 ` Anthony Liguori
2011-11-01 16:20 ` Anthony Liguori
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=1319795562-18091-1-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=afaerber@suse.de \
--cc=david.gilbert@linaro.org \
--cc=jan.kiszka@siemens.com \
--cc=patches@linaro.org \
--cc=pbonzini@redhat.com \
--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).