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)
commitff0d69de620eab8a49e02724efadf0278516e20d
tree4a1c6206db6cb56e53bc790c2f4ba40f749f9af6
parent238cc06e5728e3a642d4d22bd4fc199cfd265110
rculfhash: create dummy nodes directly when create lfht

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>
rculfhash.c
This page took 0.024254 seconds and 4 git commands to generate.