]> bbs.cooldavid.org Git - net-next-2.6.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)
commit395c6b0a9d56fe7fdb7aeda12795d0eb02475d24
tree86922dc53a722cca079e7ce911c47a566e05fc11
parent7ebaf15eefe7b019def72bd9d4420c7bc51ed69e
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