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

Jason Gunthorpe jgg at nvidia.com
Wed Aug 14 05:40:41 PDT 2024


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 at infradead.org>
> Cc: Gavin Shan <gshan at redhat.com>
> Cc: Ryan Roberts <ryan.roberts at arm.com>
> Cc: David Hildenbrand <david at redhat.com>
> Cc: Zi Yan <ziy at nvidia.com>
> Signed-off-by: Peter Xu <peterx at 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 at nvidia.com>

Jason



More information about the linux-arm-kernel mailing list