]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: fix schedule in atomic in kvm_steal_time_set_preempted()
authorAndrea Arcangeli <aarcange@redhat.com>
Sat, 17 Dec 2016 17:43:52 +0000 (18:43 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Dec 2016 14:45:14 +0000 (15:45 +0100)
commit5d9ef4967a0f5ef056cc0b32621d2106e1b3a954
tree1c9dd7e4ee202ecb6d7aef52c4e25c8d2a0c3f76
parentd7d8382e7294d34b1945b5cc24f3c2a8250e710f
kvm: fix schedule in atomic in kvm_steal_time_set_preempted()

kvm_steal_time_set_preempted() isn't disabling the pagefaults before
calling __copy_to_user and the kernel debug notices.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c