Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Reduce the "MAXDSIZ" limit for bott...



details:   https://anonhg.NetBSD.org/src/rev/101e02facd4d
branches:  trunk
changeset: 811934:101e02facd4d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 22 11:42:55 2015 +0000

description:
Reduce the "MAXDSIZ" limit for bottom-up-VA (i.e. old binaries) processes
to the old limit of 1 GB. Some old binaries can not deal with more.

diffstat:

 sys/arch/sparc64/include/vmparam.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f5e555307b7a -r 101e02facd4d sys/arch/sparc64/include/vmparam.h
--- a/sys/arch/sparc64/include/vmparam.h        Sun Nov 22 11:24:08 2015 +0000
+++ b/sys/arch/sparc64/include/vmparam.h        Sun Nov 22 11:42:55 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.35 2015/11/15 20:35:33 martin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.36 2015/11/22 11:42:55 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -102,7 +102,7 @@
  * model.
  */
 #define VM_DEFAULT_ADDRESS_BOTTOMUP(da, sz) \
-    round_page((vaddr_t)(da) + (vsize_t)max(maxdmap,2UL*1024*1024*1024))
+    round_page((vaddr_t)(da) + (vsize_t)max(maxdmap,1UL*1024*1024*1024))
 #endif
 #ifndef        DFLSSIZ
 #define        DFLSSIZ         (2*1024*1024)           /* initial stack size limit */



Home | Main Index | Thread Index | Old Index