Re: [PATCH 21/21] time: Rework debugging variables so they aren't global

From: Ingo Molnar
Date: Thu Apr 02 2015 - 03:52:02 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Wed, Apr 01, 2015 at 08:34:41PM -0700, John Stultz wrote:
> > Ingo suggested that the timekeeping debugging variables
> > recently added should not be global, and should be tied
> > to the timekeeper's read_base.
>
> But why? its the same hardware clock for both tkr's. Surely if one goes
> funny the other will too.
>
> It doesn't make sense to duplicate this.

Well, could it be moved to the timekeeper data structure? What I was
opposed to was making it super-global, after all the (nice) effort we
made to tidy up global data structures in this area.

Thanks,

Ingo
--
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/