linux/arch/x86/kernel/cpu/cpufreq
Andrew Morton 4a28395d72 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: avoid cross-CPU interrupts by using smp_call_function_any()
Presently acpi-cpufreq will perform the MSR read on the first CPU in the
mask.  That's inefficient if that CPU differs from the current CPU.
Because we have to perform a cross-CPU call, but we could have run the
rdmsr on the current CPU.

So switch to using the new smp_call_function_any(), which will perform the
call on the current CPU if that CPU is present in the mask (it is).

Cc: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jaswinder Singh Rajput <jaswinder@kernel.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-12-22 15:03:57 -05:00
..
acpi-cpufreq.c arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: avoid cross-CPU interrupts by using smp_call_function_any() 2009-12-22 15:03:57 -05:00
cpufreq-nforce2.c [CPUFREQ] Make cpufreq-nforce2 less obnoxious 2009-02-24 22:47:32 -05:00
e_powersaver.c Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2 2009-03-27 17:28:43 +01:00
elanfreq.c [CPUFREQ] checkpatch cleanups for elanfreq 2009-02-24 22:47:28 -05:00
gx-suspmod.c [CPUFREQ] checkpatch cleanups for gx-suspmod 2009-02-24 22:47:29 -05:00
Kconfig CPUFREQ: Mark e_powersaver driver as EXPERIMENTAL and DANGEROUS 2009-06-10 15:22:44 -07:00
longhaul.c ACPICA: Add post-order callback to acpi_walk_namespace 2009-11-24 21:31:10 -05:00
longhaul.h [CPUFREQ] checkpatch cleanups for longhaul 2009-02-24 22:47:29 -05:00
longrun.c [CPUFREQ] checkpatch cleanups for longrun 2009-02-24 22:47:29 -05:00
Makefile [CPUFREQ] Change link order of x86 cpufreq modules 2009-02-24 22:47:32 -05:00
p4-clockmod.c [CPUFREQ] add atom family to p4-clockmod 2009-05-26 12:04:50 -04:00
powernow-k6.c [CPUFREQ] powernow-k6: set transition latency value so ondemand governor can be used 2009-11-24 13:33:33 -05:00
powernow-k7.c [ACPI/CPUFREQ] Introduce bios_limit per cpu cpufreq sysfs interface 2009-11-24 13:33:34 -05:00
powernow-k7.h [CPUFREQ] cpufreq: remove CVS keywords 2008-05-19 18:17:49 -04:00
powernow-k8.c cpumask: rename tsk_cpumask to tsk_cpus_allowed 2009-12-17 11:43:30 +10:30
powernow-k8.h [CPUFREQ] Powernow-k8: support family 0xf with 2 low p-states 2009-07-06 21:38:29 -04:00
sc520_freq.c [CPUFREQ] checkpatch cleanups for sc520 2009-02-24 22:47:29 -05:00
speedstep-centrino.c [CPUFREQ] cpumask: avoid cpumask games in arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2009-06-15 11:49:43 -04:00
speedstep-ich.c [CPUFREQ] use an enum for speedstep processor identification 2009-11-24 13:33:34 -05:00
speedstep-lib.c [CPUFREQ] use an enum for speedstep processor identification 2009-11-24 13:33:34 -05:00
speedstep-lib.h [CPUFREQ] use an enum for speedstep processor identification 2009-11-24 13:33:34 -05:00
speedstep-smi.c [CPUFREQ] use an enum for speedstep processor identification 2009-11-24 13:33:34 -05:00