Re: How is user space notified of CPU speed changes?

From: Robert Love
Date: Sun Oct 24 2004 - 15:06:27 EST


On Sat, 2004-10-23 at 01:10 -0400, Lee Revell wrote:

> OK, thanks. Still no answer to my original question though.
>
> JACK makes extensive use of microsecond-level timers. These must be
> calibrated at startup, and recalibrated when the CPU speed changes. How
> does JACK register with the kernel to be notified when the CPU speed
> changes?

Ignoring all of these meta-issues like whether or not JACK actually
should be checking the CPU speed: Yes, I think that doing a kevent tied
to the processor object when the speed changes is an absolutely ideal
use of the kernel event layer.

HAL would use it, too.

Robert Love


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