diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 21:21:15 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 18:16:15 +0200 |
commit | b1979a5fda7869a790f4fd83fb06c78498d26ba1 (patch) | |
tree | e15546fb2e002fbe1fa0a638c305bd30c8b19df5 /kernel/wait.c | |
parent | a1289643adb6272c04db9399653ae195072c482a (diff) |
x86: prevent PGE flush from interruption/preemption
CR4 manipulation is not protected against interrupts and preemption,
but KVM uses smp_function_call to manipulate the X86_CR4_VMXE bit
either from the CPU hotplug code or from the kvm_init call.
We need to protect the CR4 manipulation from both interrupts and
preemption.
Original bug report: http://lkml.org/lkml/2008/5/7/48
Bugzilla entry: http://bugzilla.kernel.org/show_bug.cgi?id=10642
This is not a regression from 2.6.25, it's a long standing and hard to
trigger bug.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions