From: john stultz <johnstul@us.ibm.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] linux-2.6.4-pre1_vsyscall-gtod_B3-part3 (3/3)
Date: Thu, 04 Mar 2004 11:02:20 -0800 [thread overview]
Message-ID: <1078426940.10076.269.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <4046E455.4010605@redhat.com>
On Thu, 2004-03-04 at 00:09, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> john stultz wrote:
>
> > Before we start up this larger debate again, might there be some short
> > term solution for my patch that would satisfy both of you?
>
> I suggest the following:
>
> ~ define a symbol __kernel_gettimeofday_offset in the vdso's symbol
> table. This should be an absolute symbol containing the offset of the
> gettimeofday implementation from the beginning of the vdso (the address
> passed up in the auxiliary vector)
>
> ~ glibc can then use the equivalent of
> dlsym("__kernel_gettimeofday_offset"). If the symbol is not defined,
> it's not used (doh). If it is defined, the final function address is
> computed by adding the offset to the vdso address.
>
>
> This ensures a direct jump and it still keeps the vdso relocatable
> without modifying the symbol table.
Excellent, this sounds similar to what Andrea was suggesting.
I'll start working to implement this.
thanks for the momentary truce ;)
-john
next prev parent reply other threads:[~2004-03-04 19:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 0:11 [RFC][PATCH] vsyscall-gtod_B3 (0/3) john stultz
2004-03-04 0:12 ` [RFC][PATCH] linux-2.6.4-pre1_vsyscall-gtod_B3-part1 (1/3) john stultz
2004-03-04 0:13 ` [RFC][PATCH] linux-2.6.4-pre1_vsyscall-gtod_B3-part2 (2/3) john stultz
2004-03-04 0:14 ` [RFC][PATCH] linux-2.6.4-pre1_vsyscall-gtod_B3-part3 (3/3) john stultz
2004-03-04 0:55 ` Andrea Arcangeli
2004-03-04 2:16 ` Ulrich Drepper
2004-03-04 2:43 ` john stultz
2004-03-04 3:14 ` Andrea Arcangeli
2004-03-04 8:09 ` Ulrich Drepper
2004-03-04 19:02 ` john stultz [this message]
2004-03-04 2:47 ` Andrea Arcangeli
2004-03-04 2:54 ` john stultz
2004-03-04 3:15 ` Andrea Arcangeli
2004-03-04 8:57 ` Jakub Jelinek
2004-03-04 16:45 ` Andrea Arcangeli
2004-03-04 8:00 ` Jamie Lokier
2004-03-04 8:37 ` Jakub Jelinek
2004-03-04 17:48 ` Andrea Arcangeli
2004-03-04 0:15 ` [RFC] vsyscall-gtod_test_B3.tar.gz john stultz
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=1078426940.10076.269.camel@cog.beaverton.ibm.com \
--to=johnstul@us.ibm.com \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®