summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-05-06 19:45:35 +0000
committerkettenis <kettenis@openbsd.org>2016-05-06 19:45:35 +0000
commitfb661dc711c4945e1f98ca2093d3d0f79a6aaad0 (patch)
tree05d8a4aa37f62eaece583e2dbda554481a0770b8
parenttypos in comments; from Pedro Giffuni (FreeBSD) via Christos Zoulas (NetBSD) (diff)
downloadwireguard-openbsd-fb661dc711c4945e1f98ca2093d3d0f79a6aaad0.tar.xz
wireguard-openbsd-fb661dc711c4945e1f98ca2093d3d0f79a6aaad0.zip
Revert the previous commit. There still are bad interactions between the
pagedaemon and the buffer cache. requested by deraadt@
-rw-r--r--sys/conf/param.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c
index 18ef4c008e4..1912eca8ea2 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.c,v 1.36 2016/04/18 15:25:08 beck Exp $ */
+/* $OpenBSD: param.c,v 1.37 2016/05/06 19:45:35 kettenis Exp $ */
/* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */
/*
@@ -102,7 +102,7 @@ int mblowat = MBLOWAT;
int mcllowat = MCLLOWAT;
#ifndef BUFCACHEPERCENT
-#define BUFCACHEPERCENT 90
+#define BUFCACHEPERCENT 20
#endif
int bufcachepercent = BUFCACHEPERCENT;