summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-04-20 15:47:23 +0000
committerderaadt <deraadt@openbsd.org>2019-04-20 15:47:23 +0000
commitc866b26a4f3fb1a5791f74a5a0c9d32f820380bb (patch)
tree100913e74f5fcba59be04e9bc7ac38205672c08c
parentprint locked range in decimal in debug routines (diff)
downloadwireguard-openbsd-c866b26a4f3fb1a5791f74a5a0c9d32f820380bb.tar.xz
wireguard-openbsd-c866b26a4f3fb1a5791f74a5a0c9d32f820380bb.zip
as discussed with beck, crank dma-range bufcache to a high number
(he suggested 90 but I prefer 80). This is so we learn the downside from user reports.
-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 abaefb33f3a..7143e840563 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.c,v 1.38 2017/10/03 11:21:52 deraadt Exp $ */
+/* $OpenBSD: param.c,v 1.39 2019/04/20 15:47:23 deraadt 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 20
+#define BUFCACHEPERCENT 80
#endif
int bufcachepercent = BUFCACHEPERCENT;