Re: [PATCH v3 4/4] arm64: mm: Override arch_wants_pte_order()

From: Yu Zhao
Date: Fri Jul 14 2023 - 12:47:51 EST


On Fri, Jul 14, 2023 at 10:17 AM Ryan Roberts <ryan.roberts@xxxxxxx> wrote:
>
> Define an arch-specific override of arch_wants_pte_order() so that when
> FLEXIBLE_THP is enabled, large folios will be allocated for anonymous
> memory with an order that is compatible with arm64's contpte mappings.
>
> Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx>

Reviewed-by: Yu Zhao <yuzhao@xxxxxxxxxx>