]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
authorSean Christopherson <seanjc@google.com>
Sat, 20 Nov 2021 01:50:08 +0000 (01:50 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Nov 2021 08:09:25 +0000 (03:09 -0500)
commit7533377215b6ee432c06c5855f6be5d66e694e46
treef6c32baa72d14ab7b5204da5f145b8fcd17feb7b
parent05b29633c7a956d5675f5fbba70db0d26aa5e73e
KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping

Use the yield-safe variant of the TDP MMU iterator when handling an
unmapping event from the MMU notifier, as most occurences of the event
allow yielding.

Fixes: e1eed5847b09 ("KVM: x86/mmu: Allow yielding during MMU notifier unmap/zap, if possible")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211120015008.3780032-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c