rcuja: tweak pigeon min child for 32-bit
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 31 May 2013 02:51:22 +0000 (22:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 31 May 2013 02:51:22 +0000 (22:51 -0400)
value 89 was causing 2% fallback node with random population. value 83
triggers only 0.01% fallback nodes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcuja/rcuja.c

index 4679bfc9a312ec8ddbef66d3fb69426ed3e6cfc8..8f62550f76fc0b23874fc70ce83cf967f9df4fb2 100644 (file)
@@ -128,7 +128,7 @@ const struct cds_ja_type ja_types[] = {
         * Upon node removal below min_child, if child pool is filled
         * beyond capacity, we roll back to pigeon.
         */
-       { .type_class = RCU_JA_PIGEON, .min_child = 89, .max_child = ja_type_7_max_child, .order = 10, },
+       { .type_class = RCU_JA_PIGEON, .min_child = 83, .max_child = ja_type_7_max_child, .order = 10, },
 
        { .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, },
 };
This page took 0.026138 seconds and 4 git commands to generate.