From df03fab8d93f4778ff06cad3e6aef2a61c65170c Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 11 Jul 2011 17:34:05 -0400 Subject: [PATCH] rculfhash: print resize length (useful as non-debug for now) Signed-off-by: Mathieu Desnoyers --- rculfhash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rculfhash.c b/rculfhash.c index 6941ec1..7605036 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -736,8 +736,8 @@ void _do_ht_resize(struct rcu_ht *ht) if (old_size == new_size) return; new_order = get_count_order_ulong(new_size) + 1; - dbg_printf("rculfhash: resize from %lu (order %lu) to %lu (order %lu) buckets\n", - old_size, old_order, new_size, new_order); + printf("rculfhash: resize from %lu (order %lu) to %lu (order %lu) buckets\n", + old_size, old_order, new_size, new_order); new_t = malloc(sizeof(struct rcu_table) + (new_order * sizeof(struct _rcu_ht_node *))); assert(new_size > old_size); -- 2.34.1