Set PIE address range to avoid or minimize mmap pressure due to limited
authorkurt <kurt@openbsd.org>
Fri, 22 Aug 2008 10:41:37 +0000 (10:41 +0000)
committerkurt <kurt@openbsd.org>
Fri, 22 Aug 2008 10:41:37 +0000 (10:41 +0000)
commit31af9a2463853add7cc1334102c1240706ce23e5
tree693012b4c148688195e9f26d1b34d328eb9fc366
parentf1ab9eb0b97f361077c9ffe2aad9a3004249c6d9
Set PIE address range to avoid or minimize mmap pressure due to limited
address space. The space between PAGE_SIZE and the non-pie fixed link
address creates no mmap pressure so use that space for PIE. However on
hppa the non-pie fixed link address is PAGE_SIZE so just use a small range
for PIE to minimize mmap pressure.

okay miod@
sys/arch/hppa/include/vmparam.h
sys/arch/mips64/include/vmparam.h
sys/arch/sh/include/vmparam.h