KVM: Disable pagefaults during copy_from_user_inatomic()
authorAndrea Arcangeli <andrea@qumranet.com>
Wed, 30 Jan 2008 18:57:35 +0000 (19:57 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:18 +0000 (11:53 +0300)
commit0aac03f07b37da96e00371e66973d5ffaae578a4
treef744219287c43ea0ff356cd84baa206a43fd903f
parent31bb117eb48f2629e030ca547ca89a1c34150183
KVM: Disable pagefaults during copy_from_user_inatomic()

With CONFIG_PREEMPT=n, this is needed in order to disable the fault-in
code from sleeping.

Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/kvm_main.c