summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2001-12-05 18:21:52 +0000
committerdrahn <drahn@openbsd.org>2001-12-05 18:21:52 +0000
commit25d97116ce9ddc324d3b5f6cf2fcd1fd8f1784ff (patch)
tree8d36d556c9db8d4aa6cce7462bb9e7eb8655b95b
parento Use proper uid_t and gid_t types and fixup printf format strings to match (diff)
downloadwireguard-openbsd-25d97116ce9ddc324d3b5f6cf2fcd1fd8f1784ff.tar.xz
wireguard-openbsd-25d97116ce9ddc324d3b5f6cf2fcd1fd8f1784ff.zip
change KMEMPAGES back to 64M, 128M does not work on large memory machines.
ok art@
-rw-r--r--sys/arch/i386/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index a3ce7f80302..572ccded632 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.19 2001/12/05 01:57:14 provos Exp $ */
+/* $OpenBSD: param.h,v 1.20 2001/12/05 18:21:52 drahn Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -116,7 +116,7 @@
* logical pages.
*/
#define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT)
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT))