Index | Thread | Search

From:
Martijn van Duren <openbsd+tech@list.imperialat.at>
Subject:
alpha: bump MAXDSIZ
To:
tech@openbsd.org
Date:
Mon, 19 Oct 2026 09:26:39 +0200

Download raw body.

Thread
Hello tech@,

Playing around with my alpha systems again I managed to build gcc-16 on
there. During linking I found memory usage of at least 1340MB, which is
larger than the curren MAXDSIZ. Diff below seems like a reasonable value
to me.

OK?

martijn@

diff /usr/src
path + /usr/src
commit - fa70b583ed3ab626378c9fb03bb92e8565fefa61
blob - 2f095fcc79fbb92042ab91653c6e9c26d813fbc0
file + sys/arch/alpha/include/vmparam.h
--- sys/arch/alpha/include/vmparam.h
+++ sys/arch/alpha/include/vmparam.h
@@ -58,7 +58,7 @@
 #define	DFLDSIZ		(128*1024*1024)		/* initial data size */
 #endif
 #ifndef MAXDSIZ
-#define	MAXDSIZ		(1*1024*1024*1024)	/* max data size */
+#define	MAXDSIZ		((paddr_t)2*1024*1024*1024)	/* max data size */
 #endif
 #ifndef BRKSIZ
 #define	BRKSIZ		MAXDSIZ			/* heap gap size */