Re: [PATCH 5/5] rbtree: move augmented rbtree functionality to rbtree_augmented.h

2012-08-07 Thread Michel Lespinasse
On Tue, Aug 7, 2012 at 12:25 AM, Michel Lespinasse wrote: > Provide rb_insert_augmented() and rb_erase_augmented through > a new rbtree_augmented.h include file. rb_erase_augmented() is defined > there as an __always_inline function, in order to allow inlining of > augmented rbtree callbacks into

[PATCH 5/5] rbtree: move augmented rbtree functionality to rbtree_augmented.h

2012-08-07 Thread Michel Lespinasse
Provide rb_insert_augmented() and rb_erase_augmented through a new rbtree_augmented.h include file. rb_erase_augmented() is defined there as an __always_inline function, in order to allow inlining of augmented rbtree callbacks into it. Since this generates a relatively large function, each augmente