PowerPC: gettimeofday optimization by using IFUNC
Ryan S. Arnold
ryan.arnold@gmail.com
Mon Mar 4 16:11:00 GMT 2013
On Wed, Feb 27, 2013 at 1:27 PM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> Ping.
>
> On 02/22/2013 04:31 PM, Adhemerval Zanella wrote:
>> Hi,
>>
>> This patch make gettimeofday uses IFUNC and optimizing its call by avoid
>> the unnecessary way through glibc's internal __gettimeofday. Any tips,
>> advices, comments?
>>
>>
>> 2013-02-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
>>
>> * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Optimizing gettimeofday
>> by using IFUNC.
>> (gettimeofday_ifunc): Add IFUNC.
>> (__gettimeofday_syscall): Sycall fallback when vDSO is not present.
>> (__gettimeofday): Using SYSCALL directly in static mode.
Adhemerval,
This looks great. Please commit if it tested clean in 32-bit and
64-bit configurations.
Ryan S. Arnold
More information about the Libc-alpha
mailing list