From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: linuxppc64-dev <linuxppc64-dev@lists.linuxppc.org>,
Ulrich Drepper <drepper@redhat.com>
Subject: Re: vDSO for ppc64 : Preliminary release #3
Date: Thu, 09 Sep 2004 19:01:29 +1000 [thread overview]
Message-ID: <1094720488.2667.65.camel@gaston> (raw)
In-Reply-To: <1094719382.2543.62.camel@gaston>
On Thu, 2004-09-09 at 18:43, Benjamin Herrenschmidt wrote:
> + /*
> + * pick a base address for the vDSO in process space. We have a default
> + * base of 1Mb on which we had a random offset up to 1Mb.
> + * XXX: Add possibility for a program header to specify that location
> + */
> + current->thread.vdso_base = 0x00100000
> + + 0xaa000;/* + ((unsigned long)vma & 0x000ff000); */
> +
Note that the above is a hack putting the vDSO at 0x1aa000 instead of
it's native link address of 0x100000 to test that it works ;)
Ben.
next prev parent reply other threads:[~2004-09-09 9:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-09 8:43 vDSO for ppc64 : Preliminary release #3 Benjamin Herrenschmidt
2004-09-09 9:01 ` Benjamin Herrenschmidt [this message]
2004-09-09 9:12 ` Jakub Jelinek
2004-09-09 11:22 ` Paul Mackerras
2004-09-09 11:59 ` Benjamin Herrenschmidt
2004-09-09 12:15 ` Jakub Jelinek
2004-09-09 12:38 ` Benjamin Herrenschmidt
2004-09-09 11:55 ` Benjamin Herrenschmidt
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=1094720488.2667.65.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc64-dev@lists.linuxppc.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