Re: [PATCH] powerpc/mm/hugetlb: Add support for 1G huge pages

2017-04-26 Thread Aneesh Kumar K.V
Anshuman Khandual writes: > On 04/17/2017 10:44 PM, Aneesh Kumar K.V wrote: >> POWER9 supports hugepages of size 2M and 1G in radix MMU mode. This patch >> enables the usage of 1G page size for hugetlbfs. This also update the helper >> such we can do 1G page allocation at runtime. >> >> Since we

Re: [PATCH] powerpc/mm/hugetlb: Add support for 1G huge pages

2017-04-26 Thread Anshuman Khandual
On 04/17/2017 10:44 PM, Aneesh Kumar K.V wrote: > POWER9 supports hugepages of size 2M and 1G in radix MMU mode. This patch > enables the usage of 1G page size for hugetlbfs. This also update the helper > such we can do 1G page allocation at runtime. > > Since we can do this only when radix transl

[PATCH] powerpc/mm/hugetlb: Add support for 1G huge pages

2017-04-17 Thread Aneesh Kumar K.V
POWER9 supports hugepages of size 2M and 1G in radix MMU mode. This patch enables the usage of 1G page size for hugetlbfs. This also update the helper such we can do 1G page allocation at runtime. Since we can do this only when radix translation mode is enabled, we can't use the generic gigantic_p