shithub: riscv

Download patch

ref: 03852d94083a33e0b10762c2225f2015f23c49d5
parent: 91994dc5d8ad4fbd4eb73f44855aafdb4bbbc3ba
author: cinap_lenrek <[email protected]>
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))