From: Mathieu Desnoyers Date: Fri, 31 May 2013 02:27:13 +0000 (-0400) Subject: rcuja: tweak pigeon min child for 64-bit X-Git-Url: https://git.lttng.org/?p=userspace-rcu.git;a=commitdiff_plain;h=64457f6cd7795bcfd6b05edf0d65e1fb1d705c40 rcuja: tweak pigeon min child for 64-bit value 101 was causing 2% fallback node with random population. value 95 triggers only 0.01% fallback nodes. Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index 7d881b6..4679bfc 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -176,7 +176,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 = 101, .max_child = ja_type_7_max_child, .order = 11, }, + { .type_class = RCU_JA_PIGEON, .min_child = 95, .max_child = ja_type_7_max_child, .order = 11, }, { .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, }, };