aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2009-12-22 00:19:58 +0000
committerLen Brown <[email protected]>2009-12-22 20:03:57 +0000
commit4a28395d72a956f2dad24e343d06bc08c9afb89a (patch)
tree37418b244175d017061bb4aef257c379dce859f4 /lib/debugobjects.c
parentLinux 2.6.33-rc1 (diff)
downloadkernel-4a28395d72a956f2dad24e343d06bc08c9afb89a.tar.gz
kernel-4a28395d72a956f2dad24e343d06bc08c9afb89a.zip
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" <[email protected]> Cc: Dave Jones <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jaswinder Singh Rajput <[email protected]> Cc: Len Brown <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Venkatesh Pallipadi <[email protected]> Cc: Zhao Yakui <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions