summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include/vmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips64/include/vmparam.h')
-rw-r--r--sys/arch/mips64/include/vmparam.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/vmparam.h b/sys/arch/mips64/include/vmparam.h
index 354421b5b16..17f75734fc8 100644
--- a/sys/arch/mips64/include/vmparam.h
+++ b/sys/arch/mips64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.15 2008/07/25 21:25:25 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.16 2008/08/22 10:41:37 kurt Exp $ */
/* $NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp $ */
/*
@@ -101,6 +101,10 @@
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffffc0000000L)
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xfffffffffffff000L)
+/* map PIE below 256MB (non-pie link address) to avoid mmap pressure */
+#define VM_PIE_MIN_ADDR PAGE_SIZE
+#define VM_PIE_MAX_ADDR 0x10000000UL
+
#ifndef VM_NFREELIST
#define VM_NFREELIST 1
#endif