Thread (191 messages) 191 messages, 12 authors, 3d ago

Re: [PATCH v8 18/46] KVM: guest_memfd: Handle lru_add fbatch refcounts during conversion safety check

From: Sean Christopherson <seanjc@google.com>
Date: 2026-06-24 16:57:05
Also in: kvm, linux-coco, linux-doc, linux-kselftest, linux-mm, lkml

On Thu, Jun 18, 2026, Ackerley Tng wrote:
When checking if a guest_memfd folio is safe for conversion, its refcount
is examined. A folio may be present in a per-CPU lru_add fbatch, which
temporarily increases its refcount. 
Under what circumstances does this happen, and what alternatives are there for
userspace to work around the issue?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help