summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-12 23:05:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-12 23:05:07 +0000
commit78151583cdbf7fec9bd8ed3de542bdb1dc8983f4 (patch)
treed5400b809ffedc93752432bae7ac65f8cdfc56c7 /sys/arch/powerpc/include
parent096dc2b114f3ad0390816a8c4a1af3fb2c427c75 (diff)
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/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/param.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h
index 75c62bc7a40..e733b223c3d 100644
--- a/sys/arch/powerpc/include/param.h
+++ b/sys/arch/powerpc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.25 2004/08/06 22:31:31 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.26 2005/09/12 23:05:05 miod Exp $ */
/* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -70,6 +70,13 @@
#define USPACE_ALIGN (0) /* u-area alignment 0-none */
/*
+ * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized
+ * logical pages.
+ */
+#define NKMEMPAGES_MIN_DEFAULT ((4 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
+
+/*
* Constants related to network buffer management.
* MCLBYTES must be no larger than the software page size, and,
* on machines that exchange pages of input or output buffers with mbuf