From 57c18d2ce160d4ab2a024aaf1a4a91e5c2d71d7f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 29 Jun 2005 06:07:08 +0000 Subject: 40MB virtual address space in p0; start mmap's 8MB into the data segment ok tdeval --- sys/arch/vax/include/pmap.h | 4 ++-- sys/arch/vax/include/vmparam.h | 12 +++--------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'sys/arch/vax/include') diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h index e9cc44d8ec3..d1d483686d3 100644 --- a/sys/arch/vax/include/pmap.h +++ b/sys/arch/vax/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.24 2004/08/06 22:39:14 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.25 2005/06/29 06:07:04 deraadt Exp $ */ /* $NetBSD: pmap.h,v 1.37 1999/08/01 13:48:07 ragge Exp $ */ /* @@ -53,7 +53,7 @@ */ #define LTOHPS (PGSHIFT - VAX_PGSHIFT) #define LTOHPN (1 << LTOHPS) -#define USRPTSIZE ((MAXTSIZ + MAXDSIZ + MAXSSIZ + MMAPSPACE) / VAX_NBPG) +#define USRPTSIZE ((MAXTSIZ + 40*1024*1024 + MAXSSIZ) / VAX_NBPG) #define NPTEPGS (USRPTSIZE / (sizeof(pt_entry_t) * LTOHPN)) /* diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h index 69c8ac0bc78..57a96bddddf 100644 --- a/sys/arch/vax/include/vmparam.h +++ b/sys/arch/vax/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.22 2005/04/11 15:13:01 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.23 2005/06/29 06:07:04 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */ /*- @@ -61,7 +61,7 @@ #define MAXTSIZ (8*1024*1024) /* max text size */ #endif #ifndef MAXDSIZ -#define MAXDSIZ (8*1024*1024) /* max data size */ +#define MAXDSIZ (40*1024*1024) /* max data size */ #endif #ifndef MAXSSIZ #define MAXSSIZ (8*1024*1024) /* max stack size */ @@ -75,13 +75,7 @@ #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. - * 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 (24*1024*1024) +#define BRKSIZ (8*1024*1024) /* * Size of shared memory map -- cgit v1.2.3