Re: [PATCH v5 2/4] sparc: Advertise gigantic page support
From: David Miller
Date: Wed Mar 06 2019 - 14:04:40 EST
From: Alexandre Ghiti <alex@xxxxxxxx>
Date: Wed, 6 Mar 2019 14:00:03 -0500
> sparc actually supports gigantic pages and selecting
> ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free
> gigantic pages at runtime.
>
> sparc allows configuration such as huge pages of 16GB,
> pages of 8KB and MAX_ORDER = 13 (default):
> HPAGE_SHIFT (34) - PAGE_SHIFT (13) = 21 >= MAX_ORDER (13)
>
> Signed-off-by: Alexandre Ghiti <alex@xxxxxxxx>
Much better.
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>