This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make ppc64-linux use VDSO gettimeofday instead of timesyscall


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]