diff options
author | Anton Blanchard <anton@samba.org> | 2010-05-10 14:59:18 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-21 03:31:10 -0400 |
commit | 095c7965f4dc870ed2b65143b1e2610de653416c (patch) | |
tree | dfd918c5087025ac16bedddaa0e8c8d6255d17d0 /arch/powerpc/kernel/dma-swiotlb.c | |
parent | 5d7a87217de48b234b3c8ff8a73059947d822e07 (diff) |
powerpc: Use more accurate limit for first segment memory allocations
Author: Milton Miller <miltonm@bga.com>
On large machines we are running out of room below 256MB. In some cases we
only need to ensure the allocation is in the first segment, which may be
256MB or 1TB.
Add slb0_limit and use it to specify the upper limit for the irqstack and
emergency stacks.
On a large ppc64 box, this fixes a panic at boot when the crashkernel=
option is specified (previously we would run out of memory below 256MB).
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/dma-swiotlb.c')
0 files changed, 0 insertions, 0 deletions