]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/hugetlb: Allow runtime allocation of 16G.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 28 Jul 2017 05:01:27 +0000 (10:31 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Aug 2017 04:56:13 +0000 (14:56 +1000)
commit16f3729eeebf8a2fe176b9a8a05b03f1ef0e4760
tree6ce9bb34de28527e5d76231e805985dedb6fef37
parent0769f68713c7c42855714c61975fa5b5837d9128
powerpc/mm/hugetlb: Allow runtime allocation of 16G.

Now that we have GIGANTIC_PAGE enabled on powerpc, use this for 16G hugepages
with hash translation mode. Depending on the total system memory we have, we may
be able to allocate 16G hugepages runtime. This also remove the hugetlb setup
difference between hash/radix translation mode.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/hugetlb.h