diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-01-05 16:36:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-05 23:55:21 -0800 |
commit | 965b58a550b6f84815cb555e6abb953e863f1610 (patch) | |
tree | bb21eb8c919f78662d422528126cffdbe1352983 /.gitignore | |
parent | cd36beec0b83d28dceb85696a23542bf1b97cc8c (diff) | |
download | op-kernel-dev-965b58a550b6f84815cb555e6abb953e863f1610.zip op-kernel-dev-965b58a550b6f84815cb555e6abb953e863f1610.tar.gz |
[PATCH] KVM: Fix GFP_KERNEL alloc in atomic section bug
KVM does kmalloc() in an atomic section while having preemption disabled via
vcpu_load(). Fix this by moving the ->*_msr setup from the vcpu_setup method
to the vcpu_create method.
(This is also a small speedup for setting up a vcpu, which can in theory be
more frequent than the vcpu_create method).
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions