aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/linux.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-09-16 00:39:14 +0000
committerPaolo Bonzini <[email protected]>2023-09-21 09:47:57 +0000
commit50107e8b2a8a59d8cec7e8454e27c1f8e365acdb (patch)
treec792c4cbc60de8e0bf8f77a70bbb2fcce3b89746 /tools/testing/radix-tree/linux.c
parentKVM: selftests: Assert that vasprintf() is successful (diff)
downloadkernel-50107e8b2a8a59d8cec7e8454e27c1f8e365acdb.tar.gz
kernel-50107e8b2a8a59d8cec7e8454e27c1f8e365acdb.zip
KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
The mmu_notifier path is a bit of a special snowflake, e.g. it zaps only a single address space (because it's per-slot), and can't always yield. Because of this, it calls kvm_tdp_mmu_zap_leafs() in ways that no one else does. Iterate manually over the leafs in response to an mmu_notifier invalidation, instead of invoking kvm_tdp_mmu_zap_leafs(). Drop the @can_yield param from kvm_tdp_mmu_zap_leafs() as its sole remaining caller unconditionally passes "true". Cc: [email protected] Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux.c')
0 files changed, 0 insertions, 0 deletions