sparc64: Add 16GB hugepage support
authorNitin Gupta <nitin.m.gupta@oracle.com>
Fri, 11 Aug 2017 23:46:50 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 04:48:07 +0000 (21:48 -0700)
commitdf7b2155bbe75525531e47c8a67ae4f1dbbae976
tree8a41a2304dc99e7fa024a5debef0ac9197231842
parent44382b0195e608732b0bed14d51b5e5f79f46471
sparc64: Add 16GB hugepage support

Adds support for 16GB hugepage size. To use this page size
use kernel parameters as:

default_hugepagesz=16G hugepagesz=16G hugepages=10

Testing:

Tested with the stream benchmark which allocates 48G of
arrays backed by 16G hugepages and does RW operation on
them in parallel.

Orabug: 25362942

Cc: Anthony Yznaga <anthony.yznaga@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/hugetlb.h
arch/sparc/include/asm/page_64.h
arch/sparc/include/asm/pgtable_64.h
arch/sparc/include/asm/tsb.h
arch/sparc/kernel/head_64.S
arch/sparc/kernel/tsb.S
arch/sparc/kernel/vmlinux.lds.S
arch/sparc/mm/hugetlbpage.c
arch/sparc/mm/init_64.c