lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cyrix 6x86MX and Centaur C6 CPUs in 2.1.102
On Thu, May 21, 1998 at 04:12:18PM +0200, Martin Mares wrote:

> > Yes, but for all the chips produced up to now it is equal, and for later
> > chips we may decide based on the chip revision / manufacturer and if needed
> > apply a TSC per sec / CPU clocks per sec ratio for the respective chip to
> > get the correct CPU frequency.
>
> Do we need to have such ugliness in the kernel? I know no reason for calculating
> CPU clock rate in the kernelas apposed to the TSC frequency which is really needed when
> you want to use the TSC for measuring real time.

Actually, I don't find it that ugly. And, it's true that we don't need it,
however many users might find it useful to see what frequency their CPU is
running on, since many BIOSes don't either report it, or report wrong
values.

And since there are not any processors for which TSC speed is different from
their clock, and I doubt there will be, and since we need to measure the TSC
speed anyway, I think its worth it to append it to the CPU string in the
bootup messages and put it into /proc/cpu.

Vojtech

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.726 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site