From acd6b5e239fcbacdc17148c93bfff633771b640e Mon Sep 17 00:00:00 2001 From: claudio Date: Sat, 8 Sep 2018 20:12:54 +0000 Subject: [PATCH] Bump NMBCLUSTERS to a more reasonable 256MB instead of the tiny 4MB. May help ports builders to not run out of memory. Lots of agreement and OK n2k18@ --- sys/arch/arm64/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm64/include/param.h b/sys/arch/arm64/include/param.h index f6c98428dae..e64007d2ee7 100644 --- a/sys/arch/arm64/include/param.h +++ b/sys/arch/arm64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.4 2018/08/09 12:19:32 patrick Exp $ */ +/* $OpenBSD: param.h,v 1.5 2018/09/08 20:12:54 claudio Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -63,7 +63,7 @@ #define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */ #define USPACE_ALIGN 0 /* u-area alignment 0-none */ -#define NMBCLUSTERS 4096 /* max cluster allocation */ +#define NMBCLUSTERS (256 * 1024) /* max cluster allocation */ #ifndef MSGBUFSIZE #define MSGBUFSIZE (16 * PAGE_SIZE) /* default message buffer size */ -- 2.20.1