Re: [PATCH 2/10] lguest: Export symbols for lguest as a module

From: Rusty Russell
Date: Fri Feb 09 2007 - 07:07:12 EST


On Fri, 2007-02-09 at 10:32 +0100, Andi Kleen wrote:
> On Friday 09 February 2007 10:15, Rusty Russell wrote:
>
> > tsc_khz:
> > Simplest way of telling the guest how to interpret the TSC
> > counter.
>
>
> Are you sure this will work with varying TSC frequencies?

I'm actually quite sure it doesn't (there's a FIXME in the lguest code).
Given the debate over how useful the TSC was, I originally didn't use
it, but (1) it's simple, and (2) when it doesn't change, it's pretty
accurate.

> In general you should get this from cpufreq.

Hmm, ok, I'll bite: how? Time is a mystery I've avoided so far 8)

Thanks!
Rusty.


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