kvm: x86: export maximum number of mmu_page_hash collisions
authorDavid Matlack <dmatlack@google.com>
Tue, 20 Dec 2016 23:25:57 +0000 (15:25 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:46:03 +0000 (14:46 +0100)
commitf3414bc77419463c0d81eaa2cea7ee4ccb447c7d
tree153185d45ad2105c030648945e650687fe3adfec
parent826da32140dada1467f4216410525511393317e8
kvm: x86: export maximum number of mmu_page_hash collisions

Report the maximum number of mmu_page_hash collisions as a per-VM stat.
This will make it easy to identify problems with the mmu_page_hash in
the future.

Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/x86.c