[PATCH] Make ppc64-linux use VDSO gettimeofday instead of time syscall

Ulrich Drepper drepper@redhat.com
Wed Mar 24 19:22:00 GMT 2010


-----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-----



More information about the Libc-alpha mailing list