diff options
author | 2007-01-05 16:36:23 -0800 | |
---|---|---|
committer | 2007-01-05 23:55:21 -0800 | |
commit | 965b58a550b6f84815cb555e6abb953e863f1610 (patch) | |
tree | bb21eb8c919f78662d422528126cffdbe1352983 /mm/page_alloc.c | |
parent | [PATCH] via82cxxx: fix cable detection (diff) | |
download | linux-rng-965b58a550b6f84815cb555e6abb953e863f1610.tar.xz linux-rng-965b58a550b6f84815cb555e6abb953e863f1610.zip |
[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 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions