Re: Laptops & CPU frequency

From: Pavel Machek
Date: Fri Jan 16 2004 - 05:48:37 EST


Hi!

> >No - if the laptop changes speed on its own, using a system that Linux
> >does not understand, then Linux won't know about the change,
> >/proc/cpuinfo will not be updated, and stuff won't go too good.
>
> Is there any realistic way of noticing this sort of change?

You can detect that tsc runs at wrong speed from timer interrupt.

pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/