parisc: Use generic mmap top-down layout and brk randomization
authorHelge Deller <deller@gmx.de>
Fri, 18 Aug 2023 22:53:28 +0000 (00:53 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 22 Aug 2023 08:24:46 +0000 (10:24 +0200)
commit3033cd4307681c60db6d08f398a64484b36e0b0f
tree41a33f799e22aef056f347b382a1630a268bfe6e
parent9f5ba4b3e1b3c123eeca5d2d09161e8720048b5c
parisc: Use generic mmap top-down layout and brk randomization

parisc uses a top-down layout by default that exactly fits the generic
functions, so get rid of arch specific code and use the generic version
by selecting ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT.

Note that on parisc the stack always grows up and a "unlimited stack"
simply means that the value as defined in CONFIG_STACK_MAX_DEFAULT_SIZE_MB
should be used. So RLIM_INFINITY is not an indicator to use the legacy
memory layout.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/kernel/process.c
arch/parisc/kernel/sys_parisc.c
mm/util.c