Re: TSC patch was: Linux 2.3.99pre9-2 JOB list

From: Maciej W. Rozycki (macro@ds2.pg.gda.pl)
Date: Tue May 23 2000 - 07:13:47 EST


On Mon, 22 May 2000, Christopher Thompson wrote:

> Thanks. But this patch did not work for me. The problem is that I need to
> disable TSC on TSC-capable CPUs and so the code that goes in the #ifndef
> CONFIG_X86_TSC never gets compiled in.

 Having CONFIG_X86_TSC disabled does not prevent Linux from using the TSC.
In fact the TSC is used whenever available then and Linux falls back to
non-TSC based code otherwise.

 On the other hand when you have CONFIG_X86_TSC enabled then Linux does
not work for TSC-less machines at all; it just panics on them. Basically
enabling this option just excludes the code for non-TSC machines.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:23 EST