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

From: Pavel Machek (pavel@suse.cz)
Date: Sun May 21 2000 - 07:29:06 EST


Hi!

> > > To Do But Non Showstopper
> > > -------------------------
> > > Fix boards with different TSC per CPU and kill TSC use on them
> >
> > ... AND notebooks that vary CPU (and TSC) clock (Toshiba Satellite, IBM
> > TThinkPad) to save power.
>
> I have now completed and tested my second TSC patch. It is available at:
> http://hypocrite.org/linux/tsc.patch.new.tar.gz
>
> This works with 2.3.99-pre8 at least, probably most others. This one disables
> use of the TSC by an option in the configuration (i.e. make config, make
> menuconfig, whatever) and therefore has NO performance impact on TSC-enabled
> kernels. The disadvantage is that this is another option to set in your
> configuration.

Interested, interested: how does it work?

More exactly, how do you do udelay() timing? You can't use TSC, and
you can't sue normal bogomips calibration, because both of them change
speed. How do you do udelay() timing, then?

                                                                Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

- 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:21 EST