summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-11 15:13:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-11 15:13:02 +0000
commitbef26dee917b1ca6458da1eef9420d30abd219f1 (patch)
tree8d809b8f93a379b9027bcc7fd32993b9667f341d /sys/arch/vax/include
parentbbea701b11944be027a03b0ff429be946b532ef1 (diff)
use MD #define to choose stackgap size per-architecture. on sparc, special
case sun4c/sun4 -- because address space is more constrained
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r--sys/arch/vax/include/vmparam.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h
index 6ff14542f85..69c8ac0bc78 100644
--- a/sys/arch/vax/include/vmparam.h
+++ b/sys/arch/vax/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.21 2005/03/31 21:30:25 tdeval Exp $ */
+/* $OpenBSD: vmparam.h,v 1.22 2005/04/11 15:13:01 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */
/*-
@@ -73,6 +73,8 @@
#define DFLSSIZ (512*1024) /* initial stack size limit */
#endif
+#define STACKGAP_RANDOM 32*1024
+
/*
* All mmap()'ed data will be mapped above MAXDSIZ. This means that
* pte space must be allocated for (possible) mmap()'ed data.