]> 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)
commit855c5ada1fb36343c3ab5fa8e32f2ea3d2516d56
tree4e441325bf9c3b42231c0fe1fff8853335fef979
parentfe13af86fd0dd65b74328f6c13279c598140fa90
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