diff options
| author | 2022-01-19 23:07:22 +0000 | |
|---|---|---|
| committer | 2022-02-10 13:50:36 -0500 | |
| commit | cf48f9e286da29cbfd8986841396512831c98869 (patch) | |
| tree | bcb35731763d0ad2c08ac7c6d95242577d001a8b /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | KVM: x86: Add checks for reserved-to-zero Hyper-V hypercall fields (diff) | |
KVM: x86/mmu: Rename rmap_write_protect() to kvm_vcpu_write_protect_gfn()
rmap_write_protect() is a poor name because it also write-protects SPTEs
in the TDP MMU, not just SPTEs in the rmap. It is also confusing that
rmap_write_protect() is not a simple wrapper around
__rmap_write_protect(), since that is the common pattern for functions
with double-underscore names.
Rename rmap_write_protect() to kvm_vcpu_write_protect_gfn() to convey
that KVM is write-protecting a specific gfn in the context of a vCPU.
No functional change intended.
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-2-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
