From e20fb727731887a92c2585547155156d9d6b419c Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 2 Jun 2011 09:49:37 -0400 Subject: [PATCH] Update todo comment about memory allocation error Signed-off-by: Mathieu Desnoyers --- urcu-rbtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.34.1