diff options
| author | David Matlack <dmatlack@google.com> | 2022-06-22 15:26:55 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-24 04:51:55 -0400 |
| commit | 876546436db9775caee4cadf78edd2b5bf72ac84 (patch) | |
| tree | 05fdd523d7ffe2351ad5628d81c753d704e4ee40 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | KVM: x86/mmu: Consolidate shadow page allocation and initialization (diff) | |
| download | linux-876546436db9775caee4cadf78edd2b5bf72ac84.tar.gz linux-876546436db9775caee4cadf78edd2b5bf72ac84.zip | |
KVM: x86/mmu: Rename shadow MMU functions that deal with shadow pages
Rename 2 functions:
kvm_mmu_get_page() -> kvm_mmu_get_shadow_page()
kvm_mmu_free_page() -> kvm_mmu_free_shadow_page()
This change makes it clear that these functions deal with shadow pages
rather than struct pages. It also aligns these functions with the naming
scheme for kvm_mmu_find_shadow_page() and kvm_mmu_alloc_shadow_page().
Prefer "shadow_page" over the shorter "sp" since these are core
functions and the line lengths aren't terrible.
No functional change intended.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220516232138.1783324-9-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
