Re: [PATCH] 3/3 Dynamic cpufreq governor and updates to ACPI P-statedriver

From: Dominik Brodowski
Date: Tue Oct 21 2003 - 15:23:47 EST


On Tue, Oct 21, 2003 at 10:12:14AM -0700, Moore, Robert wrote:
>
> This is exactly what I was looking at doing, looks like most of the work
> is done. I have some concerns about the actual algorithm used for
> changing the CPU frequency (20%/80%), but this of course can be tuned.

Well, so write a different governor, and feel free to use Venkatesh's code
as a base [it's GPLed, after all...]. I prefer to have several different
governors available, so that different users with different needs
can use different "policies".

> I suspect that CPUs that have the capability of changing frequency
> themselves would not use this particular governor.

They can't -- If the driver for Transmeta CPUs is loaded,
cpufreq governors cannot be started.

> You may want to make the sampling rate configurable at run time.

Such a "tweaking by sysfs" patch can be added later.

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