summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/vmparam.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-09-23 03:20:34 +0000
committerpeter <peter@FreeBSD.org>2003-09-23 03:20:34 +0000
commit32e8aa5d886eb1acd710d59d96c6c29d8436b527 (patch)
tree5262c6ebdbfb9ccc005589137f2b15bbf78aeab4 /sys/amd64/include/vmparam.h
parent18e77e81884bf1ebfcd69f04c48d323019934e6c (diff)
downloadFreeBSD-src-32e8aa5d886eb1acd710d59d96c6c29d8436b527.zip
FreeBSD-src-32e8aa5d886eb1acd710d59d96c6c29d8436b527.tar.gz
Oops. back out last commit. The data and stack limits are used by the
32 bit binary stuff. 32 bit binaries do not like it much when the kernel tries hard to put things above the 8GB mark. I have a work-in-progress to fix this properly, but I didn't want to burn anybody with this yet.
Diffstat (limited to 'sys/amd64/include/vmparam.h')
-rw-r--r--sys/amd64/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index d72b599..9336bab 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -55,13 +55,13 @@
#define DFLDSIZ (128UL*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
-#define MAXDSIZ (8192UL*1024*1024) /* max data size */
+#define MAXDSIZ (512UL*1024*1024) /* max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (8UL*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (512UL*1024*1024) /* max stack size */
+#define MAXSSIZ (64UL*1024*1024) /* max stack size */
#endif
#ifndef SGROWSIZ
#define SGROWSIZ (128UL*1024) /* amount to grow stack */
OpenPOWER on IntegriCloud