Re: [RFC v2 PATCH 13/13] KVM: Enable memfd based page invalidation/fallocate

From: Paolo Bonzini
Date: Tue Nov 23 2021 - 04:09:47 EST


On 11/23/21 02:06, Chao Peng wrote:
Maybe the kvm has to be tagged with a sequential id that incremented every
allocation. This id can be checked here.
Sounds like a sequential id will be needed, no existing fields in struct
kvm can work for this.

There's no need to new concepts when there's a perfectly usable reference count. :)

Paolo