From: Sean Christopherson <seanjc@google.com>
To: Mark Street <streetster@gmail.com>
Cc: pbonzini@redhat.com, tglx@kernel.org, mingo@redhat.com,
bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org,
hpa@zytor.com, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org, seiden@linux.ibm.com
Subject: Re: [PATCH] KVM: x86/mmu: Defer TDP MMU RCU callback barrier
Date: Wed, 18 Nov 2026 12:37:43 -0800 [thread overview]
Message-ID: <av4Mlz7fOP-EeFA5@seanjc-mac.roam.internal> (raw)
In-Reply-To: <20261118203408.98649-1-streetster@gmail.com>
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@linux.dev
> 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.
prev parent reply other threads:[~2026-11-18 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 20:34 Mark Street
2026-11-18 20:37 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=av4Mlz7fOP-EeFA5@seanjc-mac.roam.internal \
--to=seanjc@google.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=seiden@linux.ibm.com \
--cc=streetster@gmail.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®