Reduce MAXDSIZ from 416MB back to 224MB.

Due to limitations by the current pmap implementation our virtual address
space is limited to 512MB. A MAXDSIZ of 416MB would leave only a little bit
more than 30MB for shared objects and heap allocations, so 224MB seems like
a good compromise.
This commit is contained in:
phx 2015-09-30 20:36:28 +00:00
parent 95d8a6292b
commit cd5e999b29
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.45 2015/06/19 14:55:51 mlelstv Exp $ */
/* $NetBSD: vmparam.h,v 1.46 2015/09/30 20:36:28 phx Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -74,7 +74,7 @@
#define DFLDSIZ (64*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
#define MAXDSIZ (416*1024*1024) /* max data size */
#define MAXDSIZ (224*1024*1024) /* max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */