summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
diff options
context:
space:
mode:
authorNitin Gupta <nitin.m.gupta@oracle.com>2016-07-29 10:54:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-29 20:49:16 +0300
commit7bc3777ca19cf9ecc5533980210f29c51df7fe5e (patch)
treebaaa60bd0a6dfe46a902d7e151005b013f340e7f /drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
parentaf1b1a9b36b8f9d583d4b4f90dd8946ed0cd4bd0 (diff)
downloadlinux-7bc3777ca19cf9ecc5533980210f29c51df7fe5e.tar.xz
sparc64: Trim page tables for 8M hugepages
For PMD aligned (8M) hugepages, we currently allocate all four page table levels which is wasteful. We now allocate till PMD level only which saves memory usage from page tables. Also, when freeing page table for 8M hugepage backed region, make sure we don't try to access non-existent PTE level. Orabug: 22630259 Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c')
0 files changed, 0 insertions, 0 deletions