KVM: Per-vcpu statistics
authorAvi Kivity <avi@qumranet.com>
Thu, 19 Apr 2007 14:27:43 +0000 (17:27 +0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:30 +0000 (10:52 +0300)
commit1165f5fec18c077bdba88e7125fd41f8e3617cb4
treea1931bfddfabaa909f4ebd14a5c00a549d1e37ec
parent3fca03653010b8c5fa63b99fc94c78cbfb433d00
KVM: Per-vcpu statistics

Make the exit statistics per-vcpu instead of global.  This gives a 3.5%
boost when running one virtual machine per core on my two socket dual core
(4 cores total) machine.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h
drivers/kvm/svm.c
drivers/kvm/vmx.c