Index | Thread | Search

From:
Bobby Johnson <bobby@plexuscomp.com>
Subject:
arm64: MAXTSIZ 512Mb
To:
tech@openbsd.org
Date:
Tue, 27 Oct 2026 13:20:49 -0600

Download raw body.

Thread
  • Bobby Johnson:

    arm64: MAXTSIZ 512Mb

Chrome has been failing to run since a recent current snapshot.  This fixes
it on my M1 macbook air.  This same default was recently set for amd64.

Index: sys/arch/arm64/include/vmparam.h
===================================================================
RCS file: /cvs/src/sys/arch/arm64/include/vmparam.h,v
diff -u -p -u -p -r1.9 vmparam.h
--- arch/arm64/include/vmparam.h        28 Apr 2023 18:33:22 -0000      1.9
+++ arch/arm64/include/vmparam.h        27 Oct 2026 19:11:15 -0000
@@ -47,7 +47,7 @@
 /*
  * Virtual memory related constants, all in bytes
  */
-#define        MAXTSIZ         ((paddr_t)256*1024*1024)        /* max text
size */
+#define        MAXTSIZ         ((paddr_t)512*1024*1024)        /* max text
size */
 #ifndef DFLDSIZ
 #define        DFLDSIZ         ((paddr_t)512*1024*1024)        /* initial
data size limit */
 #endif