git: 9front

Download patch

ref: 825bc5e97c88c206f9992fb3a0fdf42d771edb62
parent: b8335089833ba7567c0f439f0f3a4e0f67af0d7f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jul 2 21:17:38 EDT 2020

bcm64: increase maximum segment size to 8GB

make it possible for one process to use all
of physical memory.

--- a/sys/src/9/bcm64/mem.h
+++ b/sys/src/9/bcm64/mem.h
@@ -87,7 +87,7 @@
 
 #define	PTEMAPMEM	(1024*1024)
 #define	PTEPERTAB	(PTEMAPMEM/BY2PG)
-#define	SEGMAPSIZE	1984
+#define	SEGMAPSIZE	8192
 #define	SSEGMAPSIZE	16
 #define	PPN(x)		((x)&~(BY2PG-1))
 
--