Re: [RFC PATCH 16/22 -v2] add get_monotonic_cycles

john stultz
2008-01-16T22:36:39Z

On Jan 16, 2008 6:56 AM, Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
> If you really want an seqlock free algorithm (I _do_ want this for
> tracing!) :) maybe going in the RCU direction could help (I refer to my
> RCU-based 32-to-64 bits lockless timestamp counter extension, which
> could be turned into the clocksource updater).

Yea. After our earlier discussion and talking w/ Steven, I'm taking a
swing at this now. The lock-free method still doesn't apply to the
update_wall_time function, but does work fine for the monotonic cycle
uses. I'll send a patch for review as soon as I get things building.

thanks
-john