Re: [PATCH] KVM: x86/mmu: Defer TDP MMU RCU callback barrier

From: Sean Christopherson

Date: Wed Nov 18 2026 - 15:37:55 EST


On Wed, Nov 18, 2026, Mark Street wrote:
> TDP MMU pages are freed from RCU callbacks, which return their headers to MMU
> slab caches. Waiting for an rcu_barrier() during every VM teardown makes each
> VM wait for all pending RCU callbacks, including callbacks queued by
> unrelated VMs.

Wrap your changelogs.

> Move the barrier to kvm_mmu_vendor_module_exit(), immediately before the MMU
> caches are destroyed.

This was *just* posted.

https://lore.kernel.org/all/20261118-feat-kvm-tdp-mmu-rcu-barrier-v1-1-24106947c616@xxxxxxxxx

> Set the owner of KVM stats and per-VM debugfs files to the vendor module so
> open files pin the module and prevent its exit while those files are active.

What does this have to do with anything? AFAICT, this is a completely unrelated
bug fix.