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

From: Andi Kleen
Date: Tue Jun 05 2007 - 17:31:29 EST


On Tuesday 05 June 2007 23:15:28 H. Peter Anvin wrote:
> 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.

Yes it should.

> 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?)

Yes.

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