KVM: move slots_lock acquision down to vapic_exit
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Jun 2008 15:04:25 +0000 (12:04 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:36 +0000 (12:42 +0300)
commitf8b78fa3d406f3a2dc038e2b47749013a9295994
treeb46e062f5e9b527983ea2c4446e5d3ecc5d023fa
parentefa67e0d1f51842393606034051d805ab9948abd
KVM: move slots_lock acquision down to vapic_exit

There is no need to grab slots_lock if the vapic_page will not
be touched.

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