On 3/6/19 2:04 PM, David Miller wrote:
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>
Thanks !
Alex