lkml.org 
[lkml]   [1999]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wrong bogomips after plugging in AC power
Hi!

> > > If I plug it into AC power, it will speed up to 300MHz, but bogomips
> > > still have "slow" value. Therefore all udelays are wrong by factor of
> > > two -- udelay(50) will only wait approx. 25usec. That seems pretty
> > > dangerous to me. Maybe we need some other source of short loops?
> >
> > I suspect I'll see a similar problem on the PowerPC. The PPC has a way of
> > throttling the rate instructions are delivered from the icache to the execution
>
> You may want to call the bogomips calibration on the x86 when you get power
> notifications. What you do on the PPC I dont know. I assume such throttling

But: that would make correctness of kernel dependend on
CONFIG_APM. That does not seem right. Also, bogomips recalibration is
quite slow.
Pavel
--
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

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

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