summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-02-27 21:55:49 +0000
committerderaadt <deraadt@openbsd.org>2004-02-27 21:55:49 +0000
commitf2eaa71b34383cd6a99d942c36c8700a75f508f4 (patch)
treee5df83935d413cefc37e3a6de3b9347f492375a8
parentput a bit more flesh in the sysctl machdep; parts from tom (diff)
downloadwireguard-openbsd-f2eaa71b34383cd6a99d942c36c8700a75f508f4.tar.xz
wireguard-openbsd-f2eaa71b34383cd6a99d942c36c8700a75f508f4.zip
permit 10% of memory as buffer cache
-rw-r--r--sys/arch/amd64/amd64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 1f59ad3d2e5..11354769f6e 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.14 2004/02/27 21:55:25 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.15 2004/02/27 21:55:49 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -182,7 +182,7 @@ int nbuf = 0;
#endif
#ifndef BUFCACHEPERCENT
-#define BUFCACHEPERCENT 5
+#define BUFCACHEPERCENT 10
#endif
#ifdef BUFPAGES