summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/include/param.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-09-12 23:05:03 +0000
committermiod <miod@openbsd.org>2005-09-12 23:05:03 +0000
commit7e3cd69d2800d4a528a868db70a28f90a9b034df (patch)
tree7ea79cda6f0ddee841dde356a4820abdc15538f9 /sys/arch/arm/include/param.h
parentDo not ouput anything unless option CARDBUS_DEBUG; ok fgs@ (diff)
downloadwireguard-openbsd-7e3cd69d2800d4a528a868db70a28f90a9b034df.tar.xz
wireguard-openbsd-7e3cd69d2800d4a528a868db70a28f90a9b034df.zip
Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
Diffstat (limited to 'sys/arch/arm/include/param.h')
-rw-r--r--sys/arch/arm/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h
index ae2849e7139..e15b515f22b 100644
--- a/sys/arch/arm/include/param.h
+++ b/sys/arch/arm/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.6 2005/07/31 15:31:12 miod Exp $ */
+/* $OpenBSD: param.h,v 1.7 2005/09/12 23:05:03 miod Exp $ */
/* $NetBSD: param.h,v 1.9 2002/03/24 03:37:23 thorpej Exp $ */
/*
@@ -65,8 +65,8 @@
* Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized
* logical pages.
*/
-#define NKMEMPAGES_MIN_DEFAULT ((6 * 1024 * 1024) >> PAGE_SHIFT)
-#define NKMEMPAGES_MAX_DEFAULT ((7 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MIN_DEFAULT ((4 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
/* Constants used to divide the USPACE area */