diff options
author | 2021-04-30 11:52:31 +0000 | |
---|---|---|
committer | 2021-05-03 11:25:34 -0400 | |
commit | 1699f65c8b658d434fe92563c906cd1a136c9cb6 (patch) | |
tree | fd2737addd3b7f5483f4c5abb8e366e750d49c23 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86/mmu: Avoid unnecessary page table allocation in kvm_tdp_mmu_map() (diff) | |
download | linux-dev-1699f65c8b658d434fe92563c906cd1a136c9cb6.tar.xz linux-dev-1699f65c8b658d434fe92563c906cd1a136c9cb6.zip |
kvm/x86: Fix 'lpages' kvm stat for TDM MMU
Large pages not being created properly may result in increased memory
access time. The 'lpages' kvm stat used to keep track of the current
number of large pages in the system, but with TDP MMU enabled the stat
is not showing the correct number.
This patch extends the lpages counter to cover the TDP case.
Signed-off-by: Md Shahadat Hossain Shahin <shahinmd@amazon.de>
Cc: Bartosz Szczepanek <bsz@amazon.de>
Message-Id: <1619783551459.35424@amazon.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions