From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] NPTL/TLS support
Date: Sun, 21 Aug 2005 12:02:47 +0100 [thread overview]
Message-ID: <200508211202.48579.paul@codesourcery.com> (raw)
In-Reply-To: <430850FE.9080306@bellard.org>
> > - The Arm magic kernel code page. This is used on recent Arm kernels to
> > provide efficient access to kernel/CPU features. For example atomic
> > operations, and reading the TLS register (which may or may not be a real
> > hardware register). This is simplified version of the VDSO used on recent
> > x86 and ppc kernels.
>
> On i386 there are AUXENTs to define the address of the VDSO page
> (AT_SYSINFO and AT_SYSINFO_EHDR). If it was supported by the ARM glibc,
> it would avoid some hacks you need to do to intercept calls to it. Can
> you check that ?
Arm does not [yet] use a full VDSO.
As Arm is primarily aimed at embedded targets it was decided that the overhead
of a VDSO was undesirable.
In particular a fixed page mapping means an application can use shifter tricks
to generate the address and avoid the PLT indirection.
e.g.:
__aeabi_read_tp:
mov r0, #0xffff0fff
sub pc, r0, #31
Paul
next prev parent reply other threads:[~2005-08-21 11:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-14 15:53 [Qemu-devel] [patch] NPTL/TLS support Paul Brook
2005-08-21 10:01 ` Fabrice Bellard
2005-08-21 11:02 ` Paul Brook [this message]
2005-11-14 14:12 ` Gwenole Beauchesne
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=200508211202.48579.paul@codesourcery.com \
--to=paul@codesourcery.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 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.