summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-09-08 20:12:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-09-08 20:12:55 +0000
commit7d42cfcc16b5d221c1973708cc2354bac29244e5 (patch)
tree38f7399f1d5af93373fde5fb965109963f025ad7 /sys/arch
parent4ddd549ab1b43366722851da31e1aef258422ad1 (diff)
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@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/include/param.h4
1 files 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 */