summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorJanne Johansson <jj@cvs.openbsd.org>2001-08-28 09:19:04 +0000
committerJanne Johansson <jj@cvs.openbsd.org>2001-08-28 09:19:04 +0000
commit6b61600fc0ccf34584043c8c561d188a9d6bc5cd (patch)
treede61d0da5ea690087a8ed099f047e40d9d2f853e /sys/arch/amiga
parentfd56ac101fa6b4f72feba5462755946c88e60fe8 (diff)
Dont hardcode NKMEMCLUSTERS, calculate it to 256, as other m68ks do.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/conf/DRACO3
-rw-r--r--sys/arch/amiga/conf/GENERIC3
-rw-r--r--sys/arch/amiga/conf/RAMDISK3
-rw-r--r--sys/arch/amiga/include/param.h4
4 files changed, 5 insertions, 8 deletions
diff --git a/sys/arch/amiga/conf/DRACO b/sys/arch/amiga/conf/DRACO
index bf00d09b3c2..7c27b44404e 100644
--- a/sys/arch/amiga/conf/DRACO
+++ b/sys/arch/amiga/conf/DRACO
@@ -1,4 +1,4 @@
-# $OpenBSD: DRACO,v 1.15 2001/06/27 05:46:10 art Exp $
+# $OpenBSD: DRACO,v 1.16 2001/08/28 09:19:03 jj Exp $
# $NetBSD: DRACO,v 1.7 1996/12/20 19:18:16 veego Exp $
#
@@ -82,7 +82,6 @@ option GENERIC # Mini-root boot support
option LKM # Loadable kernel modules
option KTRACE # Add kernel tracing system call
option DIAGNOSTIC # Add additional error checking code
-option "NKMEMCLUSTERS=256" # Size of kernel malloc area
#
# Misc. debuging options
diff --git a/sys/arch/amiga/conf/GENERIC b/sys/arch/amiga/conf/GENERIC
index b73847acff2..df847878999 100644
--- a/sys/arch/amiga/conf/GENERIC
+++ b/sys/arch/amiga/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.35 2001/06/27 05:46:10 art Exp $
+# $OpenBSD: GENERIC,v 1.36 2001/08/28 09:19:03 jj Exp $
# $NetBSD: GENERIC,v 1.85 1997/08/27 19:32:49 is Exp $
#
@@ -50,7 +50,6 @@ option COMPAT_SUNOS # Support to run Sun (m68k) executables
#
option GENERIC # Mini-root boot support
-option "NKMEMCLUSTERS=256" # Size of kernel malloc area
#
# Misc. debuging options
diff --git a/sys/arch/amiga/conf/RAMDISK b/sys/arch/amiga/conf/RAMDISK
index 3c05312984b..ce77c37d8e8 100644
--- a/sys/arch/amiga/conf/RAMDISK
+++ b/sys/arch/amiga/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.10 2001/06/27 05:46:11 art Exp $
+# $OpenBSD: RAMDISK,v 1.11 2001/08/28 09:19:03 jj Exp $
#
# A ramdisk kernel
@@ -40,7 +40,6 @@ option ADOSFS # AmigaDOS file system
# Support for various kernel options
#
-option "NKMEMCLUSTERS=256" # Size of kernel malloc area
#
# Misc. debuging options
diff --git a/sys/arch/amiga/include/param.h b/sys/arch/amiga/include/param.h
index 77d17946355..d730fa63232 100644
--- a/sys/arch/amiga/include/param.h
+++ b/sys/arch/amiga/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.15 2001/06/14 07:45:28 jj Exp $ */
+/* $OpenBSD: param.h,v 1.16 2001/08/28 09:19:03 jj Exp $ */
/* $NetBSD: param.h,v 1.35 1997/07/10 08:22:36 veego Exp $ */
/*
@@ -77,7 +77,7 @@
* Size of kernel malloc arena in logical pages
*/
#ifndef NKMEMCLUSTERS
-#define NKMEMCLUSTERS (3072 * 1024 / PAGE_SIZE)
+#define NKMEMCLUSTERS (2048 * 1024 / PAGE_SIZE)
#endif
#define MSGBUFSIZE 8192