Re: Wrong bogomips after plugging in AC power

Jeremy Fitzhardinge (jeremy@goop.org)
Fri, 29 Oct 1999 13:38:18 -0700 (PDT)


On 29-Oct-99 Alan Cox wrote:
> 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
> is driven by the kernel ?

Yes. I've set it up so that I get an interrupt when a temp threshold is
exceeded, which I use to turn on throttling. We're using it for temperature
management in a server rather than for power control, but I assume laptops can
do the same thing. For the PPC the correct solution is to poll one of the
timebase registers rather than pure busy waiting.

J

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