Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2021 20:20:07 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: da77382f5512 - main - arm: revert MAXDSIZ change from 202aea9c82ea
Message-ID:  <202101092020.109KK7JY055598@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=da77382f55129a0304af8985e32d0632eba7cd74

commit da77382f55129a0304af8985e32d0632eba7cd74
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2021-01-09 20:14:00 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-01-09 20:14:00 +0000

    arm: revert MAXDSIZ change from 202aea9c82ea
    
    This imposes a fairly severe limitation on space available for mmap that
    was not noticed prior to commit. Unfixed mmap will only map from
    [data + MAXSIZE, end of user VA space], bringing the amount of usable space
    down way too low for non-trivial link jobs (for instance).
    
    Reported by:    mmel
---
 sys/arm/include/vmparam.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index d37a81ae6212..75c61fff803a 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -50,7 +50,7 @@
 #define	DFLDSIZ		(128UL*1024*1024)	/* initial data size limit */
 #endif
 #ifndef	MAXDSIZ
-#define	MAXDSIZ		(1856UL*1024*1024)	/* max data size */
+#define	MAXDSIZ		(512UL*1024*1024)	/* max data size */
 #endif
 #ifndef	DFLSSIZ
 #define	DFLSSIZ		(4UL*1024*1024)		/* initial stack size limit */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101092020.109KK7JY055598>