This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Make ppc64-linux use VDSO gettimeofday instead of timesyscall
- From: Ulrich Drepper <drepper at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 24 Mar 2010 12:21:37 -0700
- Subject: Re: [PATCH] Make ppc64-linux use VDSO gettimeofday instead of timesyscall
- References: <E090BE07-1DA6-4648-AB1E-0E6BA0CE98C0@linux.vnet.ibm.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/22/2010 07:21 AM, Carlos Eduardo Seo wrote:
> This small patch makes ppc64 use unix/time.c, which is faster than
> the current method. It's the same approach used by
> sysdeps/unix/sysv/linux/sparc/sparc64.
That might be the case but is it really correct? The time() results
don't necessarily correspond to the full seconds returned by gtod.
There were lots of problems in this area and maybe there still are.
This is why the x86-64 port has a separate time vsyscall.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkuqZkEACgkQ2ijCOnn/RHRQnACfXGNlagSRQ28Vvyb2bVLUECJY
gWoAn1loVd6vDON+zgD5dg746SWfex2/
=jM0i
-----END PGP SIGNATURE-----