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

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Mon Mar 22 14:22:00 GMT 2010


Hello

Currently, in ppc64-linux we use linux/time.c, which uses the time syscall. unix/time.c, on the other hand, will use gettimeofday(), which uses the VDSO.

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.

Regards,

-- 
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc-time-perf.patch
Type: application/octet-stream
Size: 1311 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20100322/a27f7e59/attachment.obj>


More information about the Libc-alpha mailing list