983 parent cd36beec0b83d28dceb85696a23542bf1b97cc8c author Ingo Molnar 1168043783 -0800 committer Linus Torvalds 1168070121 -0800 [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 Signed-off-by: Avi Kivity Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ¶2