RE: Dual core Athlons and unsynced TSCs

From: Lee Revell
Date: Fri Jan 13 2006 - 15:39:50 EST


On Fri, 2006-01-13 at 15:26 -0500, Steven Rostedt wrote:
> On Fri, 2006-01-13 at 15:09 -0500, Steven Rostedt wrote:
>
> > Nope it doesn't work :-(
> >
> > I ran this test:
> > http://www.kihontech.com/tests/rt/monotonic.c
> >
> [...]
> >
> > I'll reboot to vanilla 2.6.15 and see if that is broken too (just to
> > make sure)
> >
>
> Failed on 2.6.15 too:

That's what I suspected based on reports from several JACK users (JACK
used to use rdtsc directly, it now uses clock_gettime).

Hmm, it looks like the kernel uses the TSC left and right, even if
clock=pmtmr is used. There's even an rdtscll in pmtimer_mark_offset().

Wow, what a mess. Thanks, AMD...

Lee

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