Re: [RFC PATCH 12/23 -v4] Use RCU algorithm for monotonic cycles.

2008-01-21 Thread Steven Rostedt
On Tue, 22 Jan 2008, Nick Piggin wrote: > On Tuesday 22 January 2008 02:22, Steven Rostedt wrote: > > From: john stultz <[EMAIL PROTECTED]> > > > static inline cycle_t > > -clocksource_get_cycles(struct clocksource *cs, cycle_t now) > > +clocksource_get_basecycles(struct clocksource *cs) > > {

Re: [RFC PATCH 12/23 -v4] Use RCU algorithm for monotonic cycles.

2008-01-21 Thread Nick Piggin
On Tuesday 22 January 2008 02:22, Steven Rostedt wrote: > From: john stultz <[EMAIL PROTECTED]> > static inline cycle_t > -clocksource_get_cycles(struct clocksource *cs, cycle_t now) > +clocksource_get_basecycles(struct clocksource *cs) > { > - cycle_t offset = (now - cs->cycle_last) & cs->m