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

Chao Peng
2021-11-23T15:01:27Z

On Tue, Nov 23, 2021 at 10:09:28AM +0100, Paolo Bonzini wrote:
> 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. :)

Indeed, thanks.

>
> Paolo