On 3/6/19 2:04 PM, David Miller wrote:
From: Alexandre Ghiti <a...@ghiti.fr>
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 <a...@ghiti.fr>
Much better.

Acked-by: David S. Miller <da...@davemloft.net>
Thanks !

Alex

Reply via email to