artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cdaea
)
disable *8 again for now. incoherent archs arent having much fun with it.
author
dlg
<dlg@openbsd.org>
Tue, 21 Apr 2015 13:15:54 +0000
(13:15 +0000)
committer
dlg
<dlg@openbsd.org>
Tue, 21 Apr 2015 13:15:54 +0000
(13:15 +0000)
sys/kern/subr_pool.c
patch
|
blob
|
history
diff --git
a/sys/kern/subr_pool.c
b/sys/kern/subr_pool.c
index
e83ab4a
..
3c3f85e
100644
(file)
--- a/
sys/kern/subr_pool.c
+++ b/
sys/kern/subr_pool.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: subr_pool.c,v 1.18
4 2015/04/07 11:15:02
dlg Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.18
5 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) {