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>