From: Mathieu Desnoyers Date: Mon, 13 Aug 2012 00:55:31 +0000 (-0400) Subject: rcuja: add comment about use of number of nodes X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=335d8b1825b5eebf4281a46bd2029394edb06314;p=userspace-rcu.git rcuja: add comment about use of number of nodes Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index 433b093..27661fe 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -425,6 +425,12 @@ struct rcu_ja_node_flag *ja_node_get_nth(struct rcu_ja_node_flag *node_flag, } } +/* + * TODO: use ja_get_nr_child to monitor limits triggering shrink + * recompaction. + * Also use ja_get_nr_child to make the difference between resize and + * pool change of compaction bit(s). + */ static unsigned int ja_get_nr_child(struct rcu_ja_shadow_node *shadow_node) {