]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Disable interrupts around get_kernel_ns()
authorAvi Kivity <avi@redhat.com>
Mon, 4 Oct 2010 10:55:49 +0000 (12:55 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:53:14 +0000 (10:53 +0200)
commit5e244cdef40234d2bb0ce2a3ca8973453ad64149
tree86922dc53a722cca079e7ce911c47a566e05fc11
parentf20d7421495c3d38f2b2732bc163fa2cf74ab216
KVM: Disable interrupts around get_kernel_ns()

get_kernel_ns() wants preemption disabled.  It doesn't make a lot of sense
during the get/set ioctls (no way to make them non-racy) but the callee wants
it.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c