summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index 1d8fab6dd53..ddf9ddb3a9e 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.89 2009/08/26 00:37:17 thib Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.90 2009/09/05 16:06:57 thib Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -341,8 +341,8 @@ pool_init(struct pool *pp, size_t size, u_int align, u_int ioff, int flags,
/*
* Decide whether to put the page header off page to avoid
* wasting too large a part of the page. Off-page page headers
- * go on a hash table, so we can match a returned item
- * with its header based on the page address.
+ * go into an RB tree, so we can match a returned item with
+ * its header based on the page address.
* We use 1/16 of the page size as the threshold (XXX: tune)
*/
if (pp->pr_size < palloc->pa_pagesz/16 && pp->pr_size < PAGE_SIZE) {