Re: [PATCH] raise tsc clocksource rating

From: Ingo Molnar
Date: Mon Oct 29 2007 - 19:02:47 EST



* Zachary Amsden <zach@xxxxxxxxxx> wrote:

> On Mon, 2007-10-29 at 23:48 +0100, Ingo Molnar wrote:
> > * Zachary Amsden <zach@xxxxxxxxxx> 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.
>
> Not every guest support paravirt, but for correctness, all guests
> require TSC, which must be exposed all the way up to userspace, no
> matter what the efficiency or accuracy may be.

but if there's a perfect TSC available (there is such hardware) then the
TSC _is_ the best clocksource. Paravirt now turns it off unconditionally
in essence.

anyway, that's at most an optimization issue. No strong feelings here,
and we can certainly delay this patch until this gets all sorted out.

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/