]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/hash: Increase vmalloc space to 512T with hash MMU
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Feb 2019 11:15:09 +0000 (16:45 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:14 +0000 (00:10 +1100)
commitce702b0bbcd507ab116e77483f3c9c201cf2a75d
tree4e441325bf9c3b42231c0fe1fff8853335fef979
parent12b0fe3e1d1b215693f06ba724fcd00db42fba8d
powerpc/mm/hash: Increase vmalloc space to 512T with hash MMU

This patch updates the kernel non-linear virtual map to 512TB when
we're built with 64K page size and are using the hash MMU. We allocate
one context for the vmalloc region and hence the max virtual area size
is limited by the context map size (512TB for 64K and 64TB for 4K page
size).

This patch fixes boot failures with large amounts of system RAM where
we need large vmalloc space to handle per cpu allocations.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tested-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
arch/powerpc/include/asm/book3s/64/hash.h