Re: [PATCH 2/6] lguest tsc fix

From: Andi Kleen
Date: Tue Jun 05 2007 - 14:15:26 EST


On Wed, Jun 06, 2007 at 12:56:36AM +1000, Rusty Russell wrote:
> In recent -mm kernels, the TSC capability cannot be disabled,
> resulting in a divide by zero error in the normal sched_clock.

That will hopefully change. I hope hpa will just undo this.

>
> The correct fix is to have a special lguest sched_clock
> implementation: this is as simple as it gets.

But gettimeofday might still use it. Is that ok for you?

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