Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

From: Florian Weimer
Date: Sat Sep 01 2018 - 05:33:53 EST


On 09/01/2018 05:39 AM, Andy Lutomirski wrote:
Florian, do you think
glibc would be willing to add some magic to turn
clock_gettime(CLOCK_MONOTONIC, t) into
__vdso_clock_gettime_monotonic(t) when CLOCK_MONOTONIC is a constant?

What's the goal here? Turn the indirect call/conditional jump/indirect call sequence into a single indirect call, purely for performance reasons?

Thanks,
Florian