This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC: gettimeofday optimization by using IFUNC
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 4 Mar 2013 10:11:40 -0600
- Subject: Re: PowerPC: gettimeofday optimization by using IFUNC
- References: <5127C775.1050804@linux.vnet.ibm.com><512E5E33.8080105@linux.vnet.ibm.com>
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