]> git.baikalelectronics.ru Git - kernel.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)
commitf4dfb9dfc4a84d9e52e5168d23dc9fa8e8710a7a
treef6c32baa72d14ab7b5204da5f145b8fcd17feb7b
parent9665f8f16ce7d911b693b7a9b5a64e993b45fc81
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: 41c263d69428 ("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