summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1999-11-28 23:20:23 +0000
committerrahnds <rahnds@openbsd.org>1999-11-28 23:20:23 +0000
commitcf98148b881ad0b0b9a87216ebc01d03f8ffdafc (patch)
tree31cef455cc2056316e50c39109ee8b784aa4467d
parent#ifdef BROKEN_LINKER -> #if BROKEN_LINKER (diff)
downloadwireguard-openbsd-cf98148b881ad0b0b9a87216ebc01d03f8ffdafc.tar.xz
wireguard-openbsd-cf98148b881ad0b0b9a87216ebc01d03f8ffdafc.zip
Lower NKMEMCLUSTERS from 128MB to 16MB. Currently the vm size for powerpc
is set to 256MB and this prevented OpenBSD from booting on machine with more than ~128MB, 196MB machines would fail to boot very early.
-rw-r--r--sys/arch/powerpc/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h
index d6c79a2a243..a243b1cbac7 100644
--- a/sys/arch/powerpc/include/param.h
+++ b/sys/arch/powerpc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.7 1998/08/18 21:28:21 millert Exp $ */
+/* $OpenBSD: param.h,v 1.8 1999/11/28 23:20:23 rahnds Exp $ */
/* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -92,7 +92,7 @@
* Size of kernel malloc arena in CLBYTES-sized logical pages.
*/
#ifndef NKMEMCLUSTERS
-#define NKMEMCLUSTERS (128 * 1024 * 1024 / CLBYTES)
+#define NKMEMCLUSTERS (16 * 1024 * 1024 / CLBYTES)
#endif
/*