diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2005-03-31 21:30:26 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2005-03-31 21:30:26 +0000 |
commit | be5f02af7ac0b9725cc93124cfcde2ac9e765ef7 (patch) | |
tree | 6c3ebf6152048375b4fb0cd8902399b925c7bbf0 /sys/arch/vax/include/vmparam.h | |
parent | 80d6c82cbb250f69316916947a9a70a6c6cd9860 (diff) |
Reduce MAX and Default DATA Segment sizes to leave more MMAP space for
use by mmap_malloc.
This change and MMAP(2) malloc need some care to rebuild the system.
I definitely suggest using a snapshot when it appears in the coming days.
For the daring people :
- update src
- build and install new kernel, no reboot yet
- build and install new libc
- build and install new gcc
- build and install new make
- build and install new binutils
- reboot
- make build
(thanks martin@)
Diffstat (limited to 'sys/arch/vax/include/vmparam.h')
-rw-r--r-- | sys/arch/vax/include/vmparam.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h index e2190bbf92b..6ff14542f85 100644 --- a/sys/arch/vax/include/vmparam.h +++ b/sys/arch/vax/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.20 2004/11/28 01:36:39 mickey Exp $ */ +/* $OpenBSD: vmparam.h,v 1.21 2005/03/31 21:30:25 tdeval Exp $ */ /* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */ /*- @@ -61,13 +61,13 @@ #define MAXTSIZ (8*1024*1024) /* max text size */ #endif #ifndef MAXDSIZ -#define MAXDSIZ (24*1024*1024) /* max data size */ +#define MAXDSIZ (8*1024*1024) /* max data size */ #endif #ifndef MAXSSIZ #define MAXSSIZ (8*1024*1024) /* max stack size */ #endif #ifndef DFLDSIZ -#define DFLDSIZ (16*1024*1024) /* initial data size limit */ +#define DFLDSIZ (4*1024*1024) /* initial data size limit */ #endif #ifndef DFLSSIZ #define DFLSSIZ (512*1024) /* initial stack size limit */ @@ -79,7 +79,7 @@ * Note: This is just a hint, if we mmap() more than this the page * table will be expanded. (at the cost of speed). */ -#define MMAPSPACE (8*1024*1024) +#define MMAPSPACE (24*1024*1024) /* * Size of shared memory map |