Re: [RFC PATCH] Introduce timekeeper latch synchronization

From: Mathieu Desnoyers
Date: Fri Sep 13 2013 - 21:18:38 EST


* John Stultz (john.stultz@xxxxxxxxxx) 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/