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 v3 1/3] Consolidate vDSO macros and usage



On 19-05-2015 14:43, Nathan Lynch wrote:
> On 05/11/2015 02:11 PM, Adhemerval Zanella wrote:
>> This patch consolidate the Linux vDSO define and usage across all ports
>> that uses it.  The common vDSO definitions and calling through
>> {INLINE/INTERNAL}_VSYSCALL macros are moved to a common header
>> sysdep-vdso.h and vDSO name declaration and prototype is defined
>> using a common macro.
>>
>> Also PTR_{MANGLE,DEMANGLE} is added to ports that does not use them
>> for vDSO calls (aarch64, powerpc, s390, and tile) and thus it will
>> reflect in code changes.  For ports that already implement pointer
>> mangling/demangling in vDSO system (i386, x32, x86_64) this patch
>> is mainly a code refactor.
>>
>> Checked on x32, x86_64, x32, ppc64le, and aarch64.  Ok to apply?
>>
>> Changes from previous version:
>>
>> - Rename INTERNAL_VSYSCALL_NCS to INTERNAL_VSYSCALL_CALL on all
>>   ports.
> 
> I believe this series leaves a stray definition of INTERNAL_VSYSCALL_NCS
> in aarch64:
> 
> /* List of system calls which are supported as vsyscalls.  */
> # define HAVE_CLOCK_GETRES_VSYSCALL     1
> # define HAVE_CLOCK_GETTIME_VSYSCALL    1
> # define HAVE_GETTIMEOFDAY_VSYSCALL     1
> 
> # define INTERNAL_VSYSCALL_NCS(funcptr, err, nr, args...)       \
> 
> Otherwise it looks fine to me and I have reworked the ARM VDSO support
> patch on top of it.

Indeed, I will remove it.  Any more concerns about this patch? I would to
like to install it so Nathan can send/work on ARM vDSO support.
 


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