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

From: Alan Cox
Date: Sat Oct 23 2004 - 17:26:11 EST


On Sad, 2004-10-23 at 06:10, Lee Revell wrote:
> 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?

It did

- The kernel doesn't always know
- CPU speed is meaningless in hyper-threading since performance is not
x2 for two cores but instead varies
- It doesn't handle split CPU speed SMP - where CPU speeds vary
- God help you if virtualised

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