]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Pass parameter flush as false in kvm_tdp_mmu_zap_collapsible_sptes()
authorHou Wenlong <houwenlong93@linux.alibaba.com>
Wed, 17 Nov 2021 09:20:40 +0000 (17:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Nov 2021 12:05:58 +0000 (07:05 -0500)
commitd3ac9f08208e807fb3422c110523f175eb25c0bc
tree86e5284c834cabf471efcf7331c3ae77c8e2780c
parentcff903fa91d3d8c031f200e42176d239ae758d44
KVM: x86/mmu: Pass parameter flush as false in kvm_tdp_mmu_zap_collapsible_sptes()

Since tlb flush has been done for legacy MMU before
kvm_tdp_mmu_zap_collapsible_sptes(), so the parameter flush
should be false for kvm_tdp_mmu_zap_collapsible_sptes().

Fixes: 08763ffdb3a23 ("KVM: x86/mmu: Skip rmap operations if rmaps not allocated")
Signed-off-by: Hou Wenlong <houwenlong93@linux.alibaba.com>
Message-Id: <21453a1d2533afb6e59fb6c729af89e771ff2e76.1637140154.git.houwenlong93@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c