summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-11-05 22:41:32 +0000
committermiod <miod@openbsd.org>2015-11-05 22:41:32 +0000
commitb866a1718346d996dd6e02f606492cc9a56ca175 (patch)
treea7225a14c6751bb5f7b034ec1facfefcc007847d
parentpledge wall(1) (diff)
downloadwireguard-openbsd-b866a1718346d996dd6e02f606492cc9a56ca175.tar.xz
wireguard-openbsd-b866a1718346d996dd6e02f606492cc9a56ca175.zip
Now that the kernel virtual address space has been made larger, even on
sun4/4c/4e, increase NKMEMPAGES_MAX_DEFAULT to the same value as platforms with limited, but not horribly limited, kva size.
-rw-r--r--sys/arch/sparc/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h
index 532961f5906..f7fcafe4d2e 100644
--- a/sys/arch/sparc/include/param.h
+++ b/sys/arch/sparc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.51 2015/03/30 20:30:22 miod Exp $ */
+/* $OpenBSD: param.h,v 1.52 2015/11/05 22:41:32 miod Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -109,7 +109,7 @@
* Maximum size of the kernel malloc arena in PAGE_SIZE-sized
* logical pages.
*/
-#define NKMEMPAGES_MAX_DEFAULT ((4 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
#ifndef _LOCORE
extern struct extent *dvmamap_extent;