summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
21263e2)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* removal so gc lookups use non-logically-removed dummy
* nodes.
*/
* removal so gc lookups use non-logically-removed dummy
* nodes.
*/
- t->size = 1UL << (i - 2);
+ t->size = (i == 1) ? 0 : 1UL << (i - 2);
/* Unlink */
for (j = 0; j < len; j++) {
struct cds_lfht_node *fini_node =
/* Unlink */
for (j = 0; j < len; j++) {
struct cds_lfht_node *fini_node =