KVM: MMU: Add cache miss statistic
Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user