[PATCH v1 0/2] KVM: arm64: Use folio for THP support
Oliver Upton
oliver.upton at linux.dev
Tue Sep 26 23:30:40 PDT 2023
Vincent,
On Tue, Sep 26, 2023 at 07:19:30PM +0100, Vincent Donnefort 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.
Better yet, this gets rid of a particular walk that has had some rather
hairy bugs in the past :)
> [1] https://lkml.kernel.org/r/20220504182857.4013401-3-willy@infradead.org
nit: for the sake of posterity, it might be good to stick a reference to
commit cb196ee1ef39 ("mm/huge_memory: convert do_huge_pmd_anonymous_page()
to use vma_alloc_folio()") in the changelogs.
--
Thanks,
Oliver
More information about the linux-arm-kernel
mailing list