Re: [PATCH] KVM: guest_memfd: Don't set FGP_ACCESSED when getting folios

From: David Hildenbrand (arm)

Date: Mon Feb 02 2026 - 04:21:44 EST


On 1/29/26 18:26, Ackerley Tng wrote:
guest_memfd folios don't care about accessed flags since the memory is
unevictable and there is no storage to write back to, hence, cleanup the
allocation path by not setting FGP_ACCESSED.

Signed-off-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>
[sean: split to separate patch]
Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
---

Acked-by: David Hildenbrand (arm) <david@xxxxxxxxxx>

--
Cheers

David