rculfhash: Fix ht lazy grow logic.
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 2 Nov 2011 15:20:11 +0000 (11:20 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 2 Nov 2011 15:20:11 +0000 (11:20 -0400)
"size < target_size" in cds_lfht_resize_lazy() which is always true
confuses me.

I think we should grow the ht only when we success to increase
the resize_target.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024549 seconds and 4 git commands to generate.