Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke PR port-powerpc/56107



details:   https://anonhg.NetBSD.org/src/rev/4af472d04fed
branches:  trunk
changeset: 982573:4af472d04fed
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Apr 17 13:23:24 2021 +0000

description:
PR port-powerpc/56107

Decrease MAXSSIZ from ~256MB to 32MB (same as oea).

This fixes tests in /usr/tests/usr.bin/make, that run with "ulimit -v 200000",
fail with "Cannot map anonymous memory".

Although I'm not fully convinced whether this limit is reasonable or not,
old MAXSSIZ of ~256MB is too much anyway.

diffstat:

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

diffs (18 lines):

diff -r 080bd53f01a9 -r 4af472d04fed sys/arch/powerpc/include/booke/vmparam.h
--- a/sys/arch/powerpc/include/booke/vmparam.h  Sat Apr 17 11:36:34 2021 +0000
+++ b/sys/arch/powerpc/include/booke/vmparam.h  Sat Apr 17 13:23:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.7 2012/10/02 23:51:39 christos Exp $     */
+/*     $NetBSD: vmparam.h,v 1.8 2021/04/17 13:23:24 rin Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -64,7 +64,7 @@
 #endif
 
 #ifndef        MAXSSIZ
-#define        MAXSSIZ         (1*256*1024*1024-PAGE_SIZE) /* maximum stack size */
+#define        MAXSSIZ         (32*1024*1024)          /* maximum stack size */
 #endif
 
 #ifndef        DFLDSIZ



Home | Main Index | Thread Index | Old Index