]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86/MMU: Remove useless mmu_topup_memory_caches() in kvm_mmu_pte_write()
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Sun, 5 Jun 2022 06:34:16 +0000 (14:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 12:07:53 +0000 (08:07 -0400)
commit3241579b8cecfce24ac4017c89dfc95c5cbdf969
tree675faee286a43f3498036ddf3de5fabb49137967
parentff718a1ba8834763841537ac0398166450c87672
KVM: X86/MMU: Remove useless mmu_topup_memory_caches() in kvm_mmu_pte_write()

Since the commit efc1041d778e("KVM: x86/mmu: Remove the defunct
update_pte() paging hook"), kvm_mmu_pte_write() no longer uses the rmap
cache.

So remove mmu_topup_memory_caches() in it.

Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Message-Id: <20220605063417.308311-6-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c