Module Name: src
Committed By: joerg
Date: Fri Mar 4 03:34:24 UTC 2011
Modified Files:
src/sys/arch/amd64/include: vmparam.h
Log Message:
Reduce MAXSSIZ to 64MB, otherwise netbsd32 binaries crash in ld.elf_so,
including the trivial main(){}. Add a warning to not modify this without
testing compatibility mode.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/include/vmparam.h
diff -u src/sys/arch/amd64/include/vmparam.h:1.25 src/sys/arch/amd64/include/vmparam.h:1.26
--- src/sys/arch/amd64/include/vmparam.h:1.25 Thu Feb 17 18:07:50 2011
+++ src/sys/arch/amd64/include/vmparam.h Fri Mar 4 03:34:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.25 2011/02/17 18:07:50 drochner Exp $ */
+/* $NetBSD: vmparam.h,v 1.26 2011/03/04 03:34:24 joerg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -82,8 +82,9 @@
#ifndef DFLSSIZ
#define DFLSSIZ (4*1024*1024) /* initial stack size limit */
#endif
+/* Warning: Do not change this constant without testing netbsd32! */
#ifndef MAXSSIZ
-#define MAXSSIZ (128*1024*1024) /* max stack size */
+#define MAXSSIZ (64*1024*1024) /* max stack size */
#endif
/*