Re: [PATCH] raise tsc clocksource rating

From: Ingo Molnar
Date: Mon Oct 29 2007 - 18:56:00 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> > if it's inaccurate why are you exposing it to the guest then? Native
> > only uses the TSC if it's safe and accurate to do so.
>
> It is used as part of the Xen clocksource as a short term
> extrapolator, with correction parameters supplied by the hypervisor.
> It should never be used directly.

that's totally broken then. You cannot create an SMP-safe monotonic
clocksource via interpolation - native does not do it either. Good thing
this problem got exposed, it needs to be fixed.

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/