Re: [RFC] [PATCH] cpufreq: allow full selection of default governors

From: Robert P. J. Day
Date: Tue Apr 24 2007 - 17:14:10 EST


On Tue, 24 Apr 2007, William Heimbigner wrote:

> The following patches should allow selection of conservative, powersave, and
> ondemand in the kernel configuration.
>
> William Heimbigner
> icxcnika@xxxxxxxxxx
>
> diff -uprN -X linux-2.6.21-rc7-git6/Documentation/dontdiff
> linux-2.6.21-rc7-git6/drivers/cpufreq/Kconfig
> linux-2.6.21-rc7-git6-hwill/drivers/cpufreq/Kconfig
> --- linux-2.6.21-rc7-git6/drivers/cpufreq/Kconfig 2007-04-25
> 13:03:41.000000000 -0500
> +++ linux-2.6.21-rc7-git6-hwill/drivers/cpufreq/Kconfig 2007-04-25
> 13:08:13.000000000 -0500
> @@ -75,6 +75,24 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
> program shall be able to set the CPU dynamically without having
> to enable the userspace governor manually.
>
> +config CPU_FREQ_DEFAULT_GOV_POWERSAVE
> + bool "powersave"
> + select CPU_FREQ_GOV_POWERSAVE
> + help
> + Use the CPUFreq governor 'powersave' as default.
^^^ the (for consistency)
> +
> +config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
> + bool "conservative"
> + select CPU_FREQ_GOV_CONSERVATIVE
> + help
> + Use the CPUFreq governor 'conservative' as the default.
> +
> +config CPU_FREQ_DEFAULT_GOV_ONDEMAND
> + bool "ondemand"
> + select CPU_FREQ_GOV_ONDEMAND
> + help
> + Use the CPUFreq governor 'ondemand' as the default.
> +
> endchoice

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