]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: defer flush to generic MMU notifier code
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Mar 2021 07:40:39 +0000 (09:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:05 +0000 (08:31 -0400)
commit1ca767f076775abe77cf4b85a888d3eac36a40f6
treeb7be7a8169a31747efccfda1c93819e77e411f58
parentea8e4625138e88573f45d90c86477aa85796c5e1
KVM: MIPS: defer flush to generic MMU notifier code

Return 1 from kvm_unmap_hva_range and kvm_set_spte_hva if a flush is
needed, so that the generic code can coalesce the flushes.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mmu.c