OSDN Git Service

KVM: X86: Add per-vm stat for max rmap list size
authorPeter Xu <peterx@redhat.com>
Fri, 25 Jun 2021 15:32:06 +0000 (11:32 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 13:36:37 +0000 (09:36 -0400)
commitec1cf69c376970f42761e641cf5074b84f8db243
tree450299b50d5d789e71a2652efb342b7c0c64c8ec
parent7fa2a347512ab06ea1558302564879c060d52b0c
KVM: X86: Add per-vm stat for max rmap list size

Add a new statistic max_mmu_rmap_size, which stores the maximum size of rmap
for the vm.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210625153214.43106-2-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/x86.c