]> www.infradead.org Git - users/jedix/linux-maple.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>
Thu, 19 Apr 2012 20:54:21 +0000 (16:54 -0400)
commitc9fbff1bc16967837069440fffa01f30a549e529
treeb10de3722e76e0a667a8ae6a29d5093407dede6c
parent2c5325a8b0ba169608a7c12cf95f2f5bc1dac8e6
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.

[upstream 48cdd82]
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