projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rculfhash: reinstate i - 1 for shrink
[urcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index 2565099d2c12b633dce919e927363b10ff63912c..0b3996416c270072b069fe700764515165bc50b5 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-902,7
+902,7
@@
void fini_table(struct cds_lfht *ht, struct rcu_table *t,
* removal so gc lookups use non-logically-removed dummy
* nodes.
*/
- t->size =
(i == 1) ? 0 : 1UL << (i - 2
);
+ t->size =
1UL << (i - 1
);
/* Unlink */
for (j = 0; j < len; j++) {
struct cds_lfht_node *fini_node =
This page took
0.022806 seconds
and
4
git commands to generate.