Re: [PATCH 01/12] KVM: guest_memfd: return folio from __kvm_gmem_get_pfn()
From: Michael Roth
Date: Mon Jul 15 2024 - 20:13:43 EST
On Thu, Jul 11, 2024 at 06:27:44PM -0400, Paolo Bonzini wrote:
> Right now this is simply more consistent and avoids use of pfn_to_page()
> and put_page(). It will be put to more use in upcoming patches, to
> ensure that the up-to-date flag is set at the very end of both the
> kvm_gmem_get_pfn() and kvm_gmem_populate() flows.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Reviewed-by: Michael Roth <michael.roth@xxxxxxx>