Thread (145 messages) 145 messages, 11 authors, 2026-08-27

Re: [PATCH v10 09/41] KVM: guest_memfd: Filter both shared and private when invalidating

From: Xiaoyao Li <hidden>
Date: 2026-08-25 16:14:04
Also in: kvm, linux-coco, linux-kselftest, linux-mm, linux-trace-kernel, lkml

On 8/20/2026 9:32 AM, Sean Christopherson wrote:
And vice versa, a PUNCH_HOLE on a SHARED gmem (if userspace is
using an INIT_SHARED gmem for the shared branch of a memslot) could invalidate the
PRIVATE mappings (of a different gmem instance).
I'm wondering now how this could happen.

the requirement for PUNCH_HOLE on gmem to trigger mapping invalidation 
is the gmem is bound with the memslot. But how can a memslot bound with 
two gmem instances?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help