RE: Dual core Athlons and unsynced TSCs

Lee Revell
2006-01-14T01:27:23Z

On Fri, 2006-01-13 at 17:23 -0800, john stultz wrote:
> On Fri, 2006-01-13 at 20:14 -0500, Lee Revell wrote:
> > On Fri, 2006-01-13 at 20:10 -0500, Steven Rostedt wrote:
> > >
> > > Thanks, I'll add that to my list of tests too.
> > >
> > > Oh and 2.6.15 passed as well (with clock=pmtmr)
> >
> > It really seems like it would fail if you gave it enough time due to the
> > rdtsc in monotonic_clock()...
>
> Currently monotonic_clock()is only used by the hangcheck-timer, and is
> not used by gettimeofday/clock_gettime (even w/ CLOCK_MONOTONIC).
>
> So there may still be an issue there w/ the hangcheck-timer(for x86-64,
> on i386 the acpi pm timer can be used for monotonic_clock), but its
> doesn't affect the time related userland interfaces.

OK so the last question is how do we make sure the kernel uses the
clock=pmtmr behavior by default on those machines?

Lee