sparc32: mm: Reduce allocation size for PMD and PTE tables
authorWill Deacon <will@kernel.org>
Tue, 14 Apr 2020 21:40:11 +0000 (22:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 22:32:00 +0000 (15:32 -0700)
commit8c8f3156dd40f8bdc58f2ac461374bc804c28e3b
tree78c7e162e943477819899cb9c2d3a64f994bd5c9
parent3f407976ac2953116cb8880a7a18b63bcc81829d
sparc32: mm: Reduce allocation size for PMD and PTE tables

Now that the page table allocator can free page table allocations
smaller than PAGE_SIZE, reduce the size of the PMD and PTE allocations
to avoid needlessly wasting memory.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtsrmmu.h