summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-04-21 13:15:55 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-04-21 13:15:55 +0000
commit22b722917ef231cb0bef36c0ec902b05f8873d67 (patch)
treedf0d0ad962880839ae495114bc7614847dddb6a8 /sys/kern/subr_pool.c
parent8a131fcea2478ad5a7d322411fea25ba6410ffad (diff)
disable *8 again for now. incoherent archs arent having much fun with it.
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r--sys/kern/subr_pool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index e83ab4ad508..3c3f85e0477 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.184 2015/04/07 11:15:02 dlg Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.185 2015/04/21 13:15:54 dlg Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -241,7 +241,7 @@ pool_init(struct pool *pp, size_t size, u_int align, u_int ioff, int flags,
size = roundup(size, align);
if (palloc == NULL) {
- while (size * 8 > pgsize)
+ while (size > pgsize)
pgsize <<= 1;
if (pgsize > PAGE_SIZE) {