From: Andrea Arcangeli <andrea@suse.de>
To: Ulrich Drepper <drepper@redhat.com>
Cc: john stultz <johnstul@us.ibm.com>,
lkml <linux-kernel@vger.kernel.org>, Andi Kleen <ak@suse.de>,
Jamie Lokier <jamie@shareable.org>,
"Martin J. Bligh" <mbligh@aracnet.com>,
Wim Coekaerts <wim.coekaerts@oracle.com>,
Joel Becker <Joel.Becker@oracle.com>,
Chris McDermott <lcm@us.ibm.com>
Subject: Re: [RFC][PATCH] linux-2.6.4-pre1_vsyscall-gtod_B3-part3 (3/3)
Date: Thu, 4 Mar 2004 03:47:39 +0100 [thread overview]
Message-ID: <20040304024739.GA4922@dualathlon.random> (raw)
In-Reply-To: <40469194.5080506@redhat.com>
On Wed, Mar 03, 2004 at 06:16:52PM -0800, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrea Arcangeli wrote:
>
> > This is just like the kernel patches people proposes when they get
> > vmalloc LDT allocation failure, because they run with the i686 glibc
> > instead of the only possibly supported i586 configuration. It makes no
> > sense to hide a glibc inefficiency
>
> You apparently still haven't gotten any clue since your whining the last
> time around. Absolute addresses are a fatal mistake.
the above ldt issue has nothing to do with any address at all, it's all
about deferring the ldt allocation after pthread_create, like
linuxthreads also defer the genreation of the manager thread post the
first pthread_create.
about the vsyscall part (the only thing with a relation with "fixed
addresses"), you can pass the address of vgettimeofday via elf or in any
other way, I'm not forcing you to setup a fixed address, I never spoke
about fixed addresses (infact I specified the elf bit) you can do the
same as the vsysenter, if you're fine with the way vsysenter works you
must be fine using the same way for vgettimeofday too. My only point
(and the only reason I'm against this patch) is that glibc should call
into the vgettimeofday without passing through vsysenter, and in turn
glibc should have _knowledge_ of the existence of vgettimeofday,
otherwise every other regular syscall invoked through vsysenter would
need to pay for it. Now probably we'll never have more than two vsyscall
in x86, so wasting a few nanoseconds for a conditional jump at every
vsysenter may not be measurable but it doesn't look the right design.
And sysenter is at a fixed address in 2.6 x86 too (it doesn't even
change between different kernel compiles).
next prev parent reply other threads:[~2004-03-04 2:47 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
2004-03-04 2:47 ` Andrea Arcangeli [this message]
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=20040304024739.GA4922@dualathlon.random \
--to=andrea@suse.de \
--cc=Joel.Becker@oracle.com \
--cc=ak@suse.de \
--cc=drepper@redhat.com \
--cc=jamie@shareable.org \
--cc=johnstul@us.ibm.com \
--cc=lcm@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
--cc=wim.coekaerts@oracle.com \
/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