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

Robert P. J. Day
2007-04-24T21:13:42Z

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@mar.tar.cc
>
> 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