kernel-ark/arch/i386
Alexey Dobriyan b077ffb3b7 rdmsr_on_cpu, wrmsr_on_cpu
There was OpenVZ specific bug rendering some cpufreq drivers unusable on SMP.
In short, when cpufreq code thinks it confined itself to needed cpu by means
of set_cpus_allowed() to execute rdmsr, some "virtual cpu" feature can migrate
process to anywhere.  This triggers bugons and does wrong things in general.

This got fixed by introducing rdmsr_on_cpu and wrmsr_on_cpu executing rdmsr
and wrmsr on given physical cpu by means of smp_call_function_single().

Dave Jones mentioned cpufreq might be not only user of rdmsr_on_cpu() and
wrmsr_on_cpu(), so I'm putting them into arch/{i386,x86_64}/lib/ .

Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
2007-02-20 14:23:43 -05:00
..
boot [PATCH] __crc_... is intended to be absolute 2007-02-01 16:17:06 -08:00
crypto
kernel [CPUFREQ] Revert default on deprecated config X86_SPEEDSTEP_CENTRINO_ACPI 2007-02-20 14:23:43 -05:00
lib rdmsr_on_cpu, wrmsr_on_cpu 2007-02-20 14:23:43 -05:00
mach-default [PATCH] mca_nmi_hook() can be called at any point 2007-02-01 16:17:05 -08:00
mach-es7000 ACPICA: Remove duplicate table manager 2007-02-02 21:14:28 -05:00
mach-generic [PATCH] i386: make apic probe function non-init 2007-01-11 01:52:44 +01:00
mach-visws
mach-voyager [PATCH] x86: fix PDA variables to work during boot 2007-01-22 19:39:36 -08:00
math-emu
mm [PATCH] misc NULL noise removal 2007-02-09 09:14:07 -08:00
oprofile
pci ACPICA: Remove duplicate table definitions (non-conflicting), cont 2007-02-02 21:14:29 -05:00
power
defconfig Pull motherboard into test branch 2007-02-03 01:38:16 -05:00
Kconfig [PATCH] i386: Restore CONFIG_PHYSICAL_START option 2007-01-05 23:55:23 -08:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.cpu