diff options
author | Avi Kivity | 2007-12-18 18:47:18 +0100 |
---|---|---|
committer | Avi Kivity | 2008-01-30 17:01:19 +0100 |
commit | dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8 (patch) | |
tree | 4b39394d26c4a71e9325959fd1a9b438c2e3a239 /arch/x86/kvm/mmu.c | |
parent | KVM: MMU: Coalesce remote tlb flushes (diff) | |
download | kernel-qcow2-linux-dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8.tar.gz kernel-qcow2-linux-dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8.tar.xz kernel-qcow2-linux-dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8.zip |
KVM: MMU: Add cache miss statistic
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r-- | arch/x86/kvm/mmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 9a57e1a01449..8f12ec52ad86 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -715,6 +715,7 @@ static struct kvm_mmu_page *kvm_mmu_get_page(struct kvm_vcpu *vcpu, 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; |