WSL2-Linux-Kernel/arch/powerpc
Anton Blanchard 002b0ec73d powerpc: Increase stack gap on 64bit binaries
On 64bit there is a possibility our stack and mmap randomisation will put
the two close enough such that we can't expand our stack to match the ulimit
specified.

To avoid this, start the upper mmap address at 1GB + 128MB below the top of our
address space, so in the worst case we end up with the same ~128MB hole as in
32bit. This works because we randomise the stack over a 1GB range.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-02-23 15:53:21 +11:00
..
boot Merge commit 'kumar/next' into next 2009-02-18 13:23:30 +11:00
configs powerpc/amigaone: Default config for AmigaOne boards 2009-02-11 16:00:10 +11:00
include/asm powerpc: Randomise the brk region 2009-02-23 15:53:20 +11:00
kernel powerpc: Randomise the brk region 2009-02-23 15:53:20 +11:00
kvm KVM: Add kvm_arch_sync_events to sync with asynchronize events 2009-02-15 02:47:36 +02:00
lib powerpc: Rework dma-noncoherent to use generic vmalloc layer 2009-02-23 10:48:57 +11:00
math-emu powerpc: Add SPE/EFP math emulation for E500v1/v2 processors. 2008-12-03 08:19:16 -06:00
mm powerpc: Increase stack gap on 64bit binaries 2009-02-23 15:53:21 +11:00
oprofile powerpc/cell: Add missing #include for oprofile 2009-02-10 14:39:08 +11:00
platforms powerpc/powermac: Hotplug /sys entries are missing 2009-02-23 15:53:06 +11:00
sysdev Merge commit 'kumar/next' into next 2009-02-11 13:37:44 +11:00
xmon powerpc: Prepare xmon_save_regs for use with kdump 2008-12-23 15:13:28 +11:00
Kconfig powerpc: Rework dma-noncoherent to use generic vmalloc layer 2009-02-23 10:48:57 +11:00
Kconfig.debug powerpc: Allow the max stack trace depth to be configured 2008-12-03 20:46:35 +11:00
Makefile powerpc: Remove unncessary SPE related compiler flag 2008-12-03 08:19:10 -06:00