Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

From: Peter Zijlstra
Date: Mon Aug 06 2012 - 10:25:46 EST


On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote:
> +struct rb_augment_callbacks {
> + void (*propagate)(struct rb_node *node, struct rb_node *stop);
> + void (*copy)(struct rb_node *old, struct rb_node *new);
> + void (*rotate)(struct rb_node *old, struct rb_node *new);
> +};

Should we make that const pointers? Daniel?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/