]> git.baikalelectronics.ru Git - kernel.git/commit
xen/cpufreq: Disable the cpu frequency scaling drivers from loading.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 14 Mar 2012 00:06:57 +0000 (20:06 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Mar 2012 19:31:38 +0000 (15:31 -0400)
commita2a6740609b529842b52bc67fe541c45a02e160e
tree54fe14de42d138d232af36d4374d49fa4ef8dd10
parentc21c8a3b98ef421f63a67723dce6f9054e8d14fc
xen/cpufreq: Disable the cpu frequency scaling drivers from loading.

By using the functionality provided by "[CPUFREQ]: provide
disable_cpuidle() function to disable the API."

Under the Xen hypervisor we do not want the initial domain to exercise
the cpufreq scaling drivers. This is b/c the Xen hypervisor is
in charge of doing this as well and we can end up with both the
Linux kernel and the hypervisor trying to change the P-states
leading to weird performance issues.

Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: Fix compile error spotted by Benjamin Schweikert <b.schweikert@googlemail.com>]
arch/x86/xen/setup.c