summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2018-04-17 15:50:06 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2018-04-17 15:50:06 +0000
commitf75248742b9a46c5467ce5c4671f8eb613e68581 (patch)
tree0c1df735528bebb953fdfdb8f458bae022f87503 /sys/arch
parent5920db117427ac6fd430c44eb4918aabe1c4ffe0 (diff)
- Make rnd hints avoid the brk area. The rnd allocator refuses to allocate in
the brk area anyway. - Use a larger hint bound to spread the allocations more for the 32-bit case - Simplified the overy abstracted brs/stack allocator and switch of guard pages for the brk case. This allows i386 some extra space, depending on memory usage patterns. - Reduce brk area on i386 to give the rnd space more room ok stefan@ sthen@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index 9e6ab08ee37..d7ff0523b86 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.55 2015/11/01 20:09:59 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.56 2018/04/17 15:50:05 otto Exp $ */
/* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */
/*-
@@ -54,7 +54,7 @@
#define MAXDSIZ (3UL*1024*1024*1024) /* max data size */
#endif
#ifndef BRKSIZ
-#define BRKSIZ (1024*1024*1024) /* heap gap size */
+#define BRKSIZ (128*1024*1024) /* heap gap size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (4*1024*1024) /* initial stack size limit */