Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Raise per-image text size limit to 256MB. 64MB has ...



details:   https://anonhg.NetBSD.org/src/rev/34955e8c38cb
branches:  trunk
changeset: 779169:34955e8c38cb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 07 16:16:44 2012 +0000

description:
Raise per-image text size limit to 256MB. 64MB has seen already, so
provide some margin of grows.

diffstat:

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

diffs (45 lines):

diff -r c3de94ac1240 -r 34955e8c38cb sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Mon May 07 15:22:54 2012 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Mon May 07 16:16:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.29 2012/01/10 16:03:17 chs Exp $ */
+/*     $NetBSD: vmparam.h,v 1.30 2012/05/07 16:16:44 joerg Exp $       */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -72,7 +72,7 @@
 /*
  * Virtual memory related constants, all in bytes
  */
-#define        MAXTSIZ         (128*1024*1024)         /* max text size */
+#define        MAXTSIZ         (256*1024*1024)         /* max text size */
 #ifndef DFLDSIZ
 #define        DFLDSIZ         (256*1024*1024)         /* initial data size limit */
 #endif
@@ -90,7 +90,7 @@
  * 32bit memory related constants.
  */
 
-#define MAXTSIZ32      (128*1024*1024)
+#define MAXTSIZ32      (256*1024*1024)
 #ifndef DFLDSIZ32
 #define        DFLDSIZ32       (256*1024*1024)         /* initial data size limit */
 #endif
diff -r c3de94ac1240 -r 34955e8c38cb sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h   Mon May 07 15:22:54 2012 +0000
+++ b/sys/arch/i386/include/vmparam.h   Mon May 07 16:16:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.73 2012/02/19 10:39:06 cherry Exp $      */
+/*     $NetBSD: vmparam.h,v 1.74 2012/05/07 16:16:44 joerg Exp $       */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -63,7 +63,7 @@
 /*
  * Virtual memory related constants, all in bytes
  */
-#define        MAXTSIZ         (64*1024*1024)          /* max text size */
+#define        MAXTSIZ         (256*1024*1024)         /* max text size */
 #ifndef DFLDSIZ
 #define        DFLDSIZ         (256*1024*1024)         /* initial data size limit */
 #endif



Home | Main Index | Thread Index | Old Index