commit | 6addd1aa2ca28c054820ef2966ad372f118c3f31 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Tue Nov 29 14:03:36 2011 +0900 |
committer | Avi Kivity <avi@redhat.com> | Mon Mar 05 14:52:18 2012 +0200 |
tree | 7db9e05b7abbabb92c37bc8e231468b37cdebe47 | |
parent | 37178b8bf00137dbf28a9b291af4fbc1b8f91dcc [diff] [blame] |
KVM: MMU: Add missing large page accounting to drop_large_spte() Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 8a9b27c..9270e0d 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -1798,6 +1798,7 @@ { if (is_large_pte(*sptep)) { drop_spte(vcpu->kvm, sptep); + --vcpu->kvm->stat.lpages; kvm_flush_remote_tlbs(vcpu->kvm); } }