From: Mathieu Desnoyers Date: Thu, 2 Jun 2011 13:49:37 +0000 (-0400) Subject: Update todo comment about memory allocation error X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e20fb727731887a92c2585547155156d9d6b419c;p=urcu.git Update todo comment about memory allocation error Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-rbtree.c b/urcu-rbtree.c index 9e5e502..7cf7545 100644 --- a/urcu-rbtree.c +++ b/urcu-rbtree.c @@ -198,7 +198,8 @@ void *calculate_node_max_end(struct rcu_rbtree *rbtree, struct rcu_rbtree_node * * Deal with memory allocation errors. * Can be ensured by reserving a pool of memory entries before doing the * insertion, which will have to be function of number of - * transplantations/rotations required for the operation. + * transplantations/rotations required for the operation (which is a + * multiple of the tree height). */ #ifdef DEBUG