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

Jason Gunthorpe
2024-08-14T12:40:47Z

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@infradead.org>
> Cc: Gavin Shan <gshan@redhat.com>
> Cc: Ryan Roberts <ryan.roberts@arm.com>
> Cc: David Hildenbrand <david@redhat.com>
> Cc: Zi Yan <ziy@nvidia.com>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> include/linux/huge_mm.h | 6 +++---
> mm/huge_memory.c | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason