[PATCH v5 2/4] sparc: Advertise gigantic page support

Alex Ghiti alex at ghiti.fr
Thu Mar 7 06:10:54 AEDT 2019


On 3/6/19 2:04 PM, David Miller wrote:
> From: Alexandre Ghiti <alex at 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 <alex at ghiti.fr>
> Much better.
>
> Acked-by: David S. Miller <davem at davemloft.net>
Thanks !

Alex


More information about the Linuxppc-dev mailing list