[lttng-dev] [RFC PATCH] Introduce timekeeper latch synchronization

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Sep 13 21:18:25 EDT 2013


* John Stultz (john.stultz at linaro.org) wrote:
> On 09/13/2013 08:30 AM, Mathieu Desnoyers wrote:
> > By the way, if there are some standard test-bench for timekeeping, I'd
> > be very interested to hear about them.
> I've got a git repo of tests that I use for basic sanity checks here:
>     https://github.com/johnstultz-work/timetests.git

Thanks for the pointer! It looks like I'm currently breaking
CLOCK_MONOTONIC_RAW. My thoughts are that struct clocksource read vs
updates are relying on the timekeeper seqlock for synchronization.
Therefore, I might have to apply the latch scheme to struct clocksource
too.

Thoughts ?

Thanks,

Mathieu

> 
> thanks
> -john
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list