aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/configs/sparc32_defconfig
diff options
context:
space:
mode:
authorNitin Gupta <nitin.m.gupta@oracle.com>2017-07-19 17:12:54 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-20 12:37:09 -0700
commit8399e4b88a93fc7bc00fff3b8da9b2e718b7f45e (patch)
treee91c88b7d7f37071130a61311b347510ff09d6ab /arch/sparc/configs/sparc32_defconfig
parentsparc64: Prevent perf from running during super critical sections (diff)
downloadlinux-dev-8399e4b88a93fc7bc00fff3b8da9b2e718b7f45e.tar.xz
linux-dev-8399e4b88a93fc7bc00fff3b8da9b2e718b7f45e.zip
sparc64: Register hugepages during arch init
Add hstate for each supported hugepage size using arch initcall. This change fixes some hugepage parameter parsing inconsistencies: case 1: no hugepage parameters Without hugepage parameters, only a hugepages-8192kB entry is visible in sysfs. It's different from x86_64 where both 2M and 1G hugepage sizes are available. case 2: default_hugepagesz=[64K|256M|2G] When specifying only a default_hugepagesz parameter, the default hugepage size isn't really changed and it stays at 8M. This is again different from x86_64. Orabug: 25869946 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>
Diffstat (limited to 'arch/sparc/configs/sparc32_defconfig')
0 files changed, 0 insertions, 0 deletions