From 58c16c039d4f1a4c37bfb36303737e54943f7dd9 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 30 May 2013 22:51:22 -0400 Subject: [PATCH] rcuja: tweak pigeon min child for 32-bit value 89 was causing 2% fallback node with random population. value 83 triggers only 0.01% fallback nodes. Signed-off-by: Mathieu Desnoyers --- rcuja/rcuja.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index 4679bfc..8f62550 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -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, }, }; -- 2.34.1