Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Reduce MAXSSIZ to 64MB, otherwise net...



details:   https://anonhg.NetBSD.org/src/rev/b048325562e4
branches:  trunk
changeset: 762865:b048325562e4
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Mar 04 03:34:24 2011 +0000

description:
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.

diffstat:

 sys/arch/amd64/include/vmparam.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r d2d95967d4f8 -r b048325562e4 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Fri Mar 04 01:36:56 2011 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Fri Mar 04 03:34:24 2011 +0000
@@ -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
 
 /*



Home | Main Index | Thread Index | Old Index