summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorweingart <weingart@openbsd.org>2007-03-28 03:49:50 +0000
committerweingart <weingart@openbsd.org>2007-03-28 03:49:50 +0000
commit260f468b759e7efe3c0fc51934f3741baf1cf48b (patch)
tree28aadf2f82ff37a701a9c28064b75c4fd885eee9
parentOK, I understand why jsg wanted the disk_unbusy() in wdretry(), and he (diff)
downloadwireguard-openbsd-260f468b759e7efe3c0fc51934f3741baf1cf48b.tar.xz
wireguard-openbsd-260f468b759e7efe3c0fc51934f3741baf1cf48b.zip
Bump max number of physical segments. Machines in the wild
seem to have reached this limit. ok marco@, looks ok ckuethe@
-rw-r--r--sys/arch/i386/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index 8d7dd4e1cf6..7ea7d980e03 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.36 2007/02/20 21:15:01 tom Exp $ */
+/* $OpenBSD: vmparam.h,v 1.37 2007/03/28 03:49:50 weingart Exp $ */
/* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */
/*-
@@ -100,7 +100,7 @@
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
-#define VM_PHYSSEG_MAX 5 /* actually we could have this many segments */
+#define VM_PHYSSEG_MAX 16 /* actually we could have this many segments */
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
#define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */