commit | dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Tue Dec 18 19:47:18 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 18:01:19 2008 +0200 |
tree | 4b39394d26c4a71e9325959fd1a9b438c2e3a239 | |
parent | caa5b8a5ed27708521e0667649699fea202043b2 [diff] [blame] |
KVM: MMU: Add cache miss statistic Signed-off-by: Avi Kivity <avi@qumranet.com>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 9a57e1a..8f12ec5 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -715,6 +715,7 @@ pgprintk("%s: found\n", __FUNCTION__); return sp; } + ++vcpu->kvm->stat.mmu_cache_miss; sp = kvm_mmu_alloc_page(vcpu, parent_pte); if (!sp) return sp;