diff options
author | Anton Blanchard <anton@samba.org> | 2017-09-07 08:05:51 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-06 07:50:45 +0300 |
commit | 53ecde0b9126ff140abe3aefd7f0ec64d6fa36b0 (patch) | |
tree | ab26139c678e18ccd591ac651e1456868ac5cb18 /arch/powerpc/kernel/trace | |
parent | 7c6a4f3b1641195119ddbb531200f4dc4cecbafa (diff) | |
download | linux-53ecde0b9126ff140abe3aefd7f0ec64d6fa36b0.tar.xz |
powerpc/powernv: Increase memory block size to 1GB on radix
Memory hot unplug on PowerNV radix hosts is broken. Our memory block
size is 256MB but since we map the linear region with very large
pages, each pte we tear down maps 1GB.
A hot unplug of one 256MB memory block results in 768MB of memory
getting unintentionally unmapped. At this point we are likely to oops.
Fix this by increasing our memory block size to 1GB on PowerNV radix
hosts.
Fixes: 4b5d62ca17a1 ("powerpc/mm: add radix__remove_section_mapping()")
Cc: stable@vger.kernel.org # v4.11+
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/trace')
0 files changed, 0 insertions, 0 deletions