[CPUFREQ] bugfix cpufreq in combination with performance governor
commit91973de736bc97dc04156242c5a4b00993b6c902
authorPeter Oruba <peter.oruba@amd.com>
Mon, 9 Jul 2007 18:35:27 +0000 (9 11:35 -0700)
committerDave Jones <davej@redhat.com>
Fri, 13 Jul 2007 05:29:51 +0000 (13 01:29 -0400)
tree8d94fefd2c2f208e470510a4e607a32d013b969f
parentaac22d0a79f51d7bd93145be36322baaa4b423f8
[CPUFREQ] bugfix cpufreq in combination with performance governor

There is a frequency scaling issue that I encountered with the performance
governor in combination with CPU hotplug.

In cpufreq.c CPU frequency is reduced to its minimum before the CPU gets
unregistered and set offline.  Does that have a particular reason?

Since the (k8-)governor does not monitor CPU frequency that setting also
applies then to the remaining CPU as well and lets the system run on the
lowest frequency although performance is chose as the policy.

Signed-off-by: Peter Oruba <peter.oruba@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c