[PATCH v2 0/2] KVM: arm64: Use folio for THP support

Marc Zyngier maz at kernel.org
Fri Sep 29 02:12:19 PDT 2023


On Thu, 28 Sep 2023 18:32:02 +0100,
Vincent Donnefort <vdonnefort at google.com> wrote:
> 
> With the introduction of folios for transparent huge pages [1], we
> can rely on this support to identify if a page is backed by a huge one,
> saving a page table walk.
> 
> v1 -> v2:
>   * Add git reference to [1] in the commit message
>   * GUP always acted on the Head page under the hood. Update the commit
>     message.
> 
> [1] https://lkml.kernel.org/r/20220504182857.4013401-3-willy@infradead.org
> 
> Vincent Donnefort (2):
>   KVM: arm64: Do not transfer page refcount for THP adjustment
>   KVM: arm64: Use folio for THP adjustment
> 
>  arch/arm64/kvm/mmu.c | 79 ++------------------------------------------
>  1 file changed, 3 insertions(+), 76 deletions(-)

Reviewed-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list