lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 10/10] arm+arm64: vdso: Add support for CLOCK_BOOTTIME
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@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

\
 
 \ /
  Last update: 2017-10-30 16:25    [W:0.076 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site