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

Peter Zijlstra peterz at infradead.org
Fri Sep 13 03:31:56 EDT 2013

On Thu, Sep 12, 2013 at 10:52:53PM -0400, Mathieu Desnoyers wrote:
> OK! Here is the full implementation of the idea against Linux
> timekeeper, ntp, and PPS. It appears that ntp and PPS were relying on
> the timekeeper seqlock too. And guess what, after booting my laptop with
> this kernel there still no smoke coming out of it after a good 5 minutes
> of testing. ;-)
> Comments are welcome.

I think that moving stuff into structures is a worthwhile change on its
own, but I'll leave John and Thomas to decide on all that.

The latch thing does make the update side slightly more expensive due to
having to do that copy every time, but ideally that wouldn't happen all
that often.

More information about the lttng-dev mailing list