Re: [PATCH 04/19] mm: Allow THP orders for PFNMAPs

From: Jason Gunthorpe
Date: Wed Aug 14 2024 - 08:41:00 EST


On Fri, Aug 09, 2024 at 12:08:54PM -0400, Peter Xu wrote:
> This enables PFNMAPs to be mapped at either pmd/pud layers. Generalize the
> dax case into vma_is_special_huge() so as to cover both. Meanwhile, rename
> the macro to THP_ORDERS_ALL_SPECIAL.
>
> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> Cc: Gavin Shan <gshan@xxxxxxxxxx>
> Cc: Ryan Roberts <ryan.roberts@xxxxxxx>
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Zi Yan <ziy@xxxxxxxxxx>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---
> include/linux/huge_mm.h | 6 +++---
> mm/huge_memory.c | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason