Re: [PATCH] lguest-fix-divide-error-implement-sched_clock

From: H. Peter Anvin
Date: Tue Jun 05 2007 - 17:16:11 EST


Andi Kleen wrote:
>
> I don't think it's a good idea for the TSC. There are various
> setups where it is unreliable and also often simulators don't
> implement it correctly. And it's always a valuable workaround
> to be able to turn it off.
>

For all I can tell, if this is the case, then CONFIG_X86_TSC should be
removed completely. We still support the TSC when CONFIG_X86_TSC is not
compiled in; that attribute controls if it is unconditionally required.

(We seem to still not always use it, which may be a good indication that
CONFIG_X86_TSC has outlived its usefulness. Should it be removed?)

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