summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_64.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2018-03-30 14:04:08 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-04-04 08:58:53 +0200
commit6fa504835d6969144b2bd3699684dd447c789ba2 (patch)
tree7c4d5ba83317139477516e2e21bd0ad7c55e23d1 /arch/powerpc/mm/init_64.c
parentpowerpc/mm/radix: Update pte fragment count from 16 to 256 on radix (diff)
downloadlinux-6fa504835d6969144b2bd3699684dd447c789ba2.tar.xz
linux-6fa504835d6969144b2bd3699684dd447c789ba2.zip
powerpc/mm/hugetlb: initialize the pagetable cache correctly for hugetlb
With 64k page size, we have hugetlb pte entries at the pmd and pud level for book3s64. We don't need to create a separate page table cache for that. With 4k we need to make sure hugepd page table cache for 16M is placed at PUD level and 16G at the PGD level. Simplify all these by not using HUGEPD_PD_SHIFT which is confusing for book3s64. Without this patch, with 64k page size we create pagetable caches with shift value 10 and 7 which are not used at all. Fixes: 419df06eea5b ("powerpc: Reduce the PTE_INDEX_SIZE") Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
0 files changed, 0 insertions, 0 deletions