rculfhash: create dummy nodes directly when create lfht
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 28 Oct 2011 05:57:44 +0000 (07:57 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Oct 2011 05:57:44 +0000 (07:57 +0200)
make cds_lfht_new() can be called earlier(before rcu is initialized
..etc) If caller want to *parallelly* init the dummy nodes with large
init_size, he can use cds_lfht_new()+cds_lfht_resize() combination.

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.034262 seconds and 4 git commands to generate.