diff options
| author | 2022-07-15 22:42:21 +0000 | |
|---|---|---|
| committer | 2022-07-28 13:22:15 -0400 | |
| commit | a42989e7fbb0186d9fee05b29e0ea9cb639d0bd3 (patch) | |
| tree | c3de7bb3cf320a28e2261016465c725a5ee4f77e /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: x86/mmu: Return a u64 (the old SPTE) from mmu_spte_clear_track_bits() (diff) | |
| download | linux-dev-a42989e7fbb0186d9fee05b29e0ea9cb639d0bd3.tar.xz linux-dev-a42989e7fbb0186d9fee05b29e0ea9cb639d0bd3.zip | |
KVM: x86/mmu: Directly "destroy" PTE list when recycling rmaps
Use pte_list_destroy() directly when recycling rmaps instead of bouncing
through kvm_unmap_rmapp() and kvm_zap_rmapp(). Calling kvm_unmap_rmapp()
is unnecessary and odd as it requires passing dummy parameters; passing
NULL for @slot when __rmap_add() already has a valid slot is especially
weird and confusing.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220715224226.3749507-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
