[PATCH v2 10/10] arm+arm64: vdso: Add support for CLOCK_BOOTTIME

Will Deacon will.deacon at arm.com
Mon Oct 30 08:25:18 PDT 2017


Hi Mark,

On Thu, Oct 12, 2017 at 04:01:45PM -0700, Mark Salyzyn wrote:
> Add a case for CLOCK_BOOTTIME as it is popular for measuring
> relative time on systems expected to suspend() or hibernate().
> 
> Signed-off-by: Mark Salyzyn <salyzyn at android.com>
> 
> v2: rebased and changed from 3/3 to 10/10, fortified commit message.
> ---
>  arch/arm/include/asm/vdso_datapage.h   |  1 +
>  arch/arm/kernel/vdso.c                 |  1 +
>  arch/arm/vdso/vgettimeofday.c          | 56 ++++++++++++++++++++++++++++++++++
>  arch/arm64/include/asm/vdso_datapage.h |  1 +
>  arch/arm64/kernel/vdso.c               |  1 +
>  5 files changed, 60 insertions(+)

Can you elaborate a bit on the use-case for CLOCK_BOOTTIME, please, so
that we can justify accelerating it in the vDSO?

Thanks,

Will



More information about the linux-arm-kernel mailing list