From bc13e5859b17ca0d843d12247078a18940eb4d96 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 28 Apr 2023 18:33:22 +0000 Subject: [PATCH] bump MAXDSIZ to 128G on amd64 and 64G on arm64 discussed with kettenis@, ok deraadt@ --- sys/arch/amd64/include/vmparam.h | 4 ++-- sys/arch/arm64/include/vmparam.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h index d7b606a1bf6..7d7553e0fd3 100644 --- a/sys/arch/amd64/include/vmparam.h +++ b/sys/arch/amd64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.23 2023/03/19 20:32:13 kettenis Exp $ */ +/* $OpenBSD: vmparam.h,v 1.24 2023/04/28 18:33:22 robert Exp $ */ /* $NetBSD: vmparam.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */ /*- @@ -60,7 +60,7 @@ #define DFLDSIZ ((paddr_t)128*1024*1024) /* initial data size limit */ #endif #ifndef MAXDSIZ -#define MAXDSIZ ((paddr_t)32*1024*1024*1024) /* max data size */ +#define MAXDSIZ ((paddr_t)128*1024*1024*1024) /* max data size */ #endif #ifndef BRKSIZ #define BRKSIZ ((paddr_t)8*1024*1024*1024) /* heap gap size */ diff --git a/sys/arch/arm64/include/vmparam.h b/sys/arch/arm64/include/vmparam.h index af4f674efd6..45551c8ddb8 100644 --- a/sys/arch/arm64/include/vmparam.h +++ b/sys/arch/arm64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.8 2023/03/19 20:32:13 kettenis Exp $ */ +/* $OpenBSD: vmparam.h,v 1.9 2023/04/28 18:33:22 robert Exp $ */ /* $NetBSD: vmparam.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */ /*- @@ -52,7 +52,7 @@ #define DFLDSIZ ((paddr_t)512*1024*1024) /* initial data size limit */ #endif #ifndef MAXDSIZ -#define MAXDSIZ ((paddr_t)16*1024*1024*1024) /* max data size */ +#define MAXDSIZ ((paddr_t)64*1024*1024*1024) /* max data size */ #endif #ifndef BRKSIZ #define BRKSIZ ((paddr_t)16*1024*1024*1024) /* heap gap size */ -- 2.20.1