Thread (145 messages) flat view 145 messages, 11 authors, 10d ago

Re: [PATCH v10 11/41] KVM: guest_memfd: Ensure pages are not in use before conversion

From: Ackerley Tng <hidden>
Date: 2026-08-13 18:51:38
Also in: kvm, linux-coco, linux-doc, linux-kselftest, linux-mm, lkml

"Edgecombe, Rick P" [off-list ref] writes:
On Tue, 2026-08-11 at 10:35 -0700, Ackerley Tng wrote:
quoted
quoted
quoted
Would like to see what Sean thinks of this. Either way, is it okay to
follow up after conversions lands?
Let's see what Sean thinks of this :)
I raised this because the issue was encountered by one TDX's stress
selftest.
Which stress selftest is this? I can try running this on my side too.
We have some selftests that are built on the basic TDX selftests. One just
hammers the MMU stuff with a bunch of zaps and also weird stuff from the guest.
It was eventually too much work to try to keep the internal enhancements rebased
Would like all the comments we can get on TDX selftests v14 [1]!
nicely so we actually just run an old branch's TDX selftests against newer
kernels. So the branch is a bit of a pile, and not really suitable for sharing.
We plan to clean it and upstream it when the path clears. So it would really
help to get those basic ones upstream. We remain happy to help, so please let us
know.
I guess at this point I'm hoping y'all and Sean are okay that this
conversions series merges, and we let this stress test failure be
handled later. I'll be around to fix things :)

I'd say the line of sight to fixing this would be when the KVM MMU only
gets PFNs (and no pages at all) from guest_memfd.

[1] https://lore.kernel.org/all/20260722-tdx-selftests-v14-0-15ad654a50db@google.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help