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: PowerPC: gettimeofday optimization by using IFUNC


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


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