[MINOR] uninline rb_insert_task_queue()

rb_insert_task_queue() was inlined and is quite large. Uninlining
it reduces code size by about 2 kB and slightly improves performance.
This commit is contained in:
Willy Tarreau 2007-02-11 13:52:16 +01:00
parent 92f2ab1b1f
commit b1b8272a54

View File

@ -47,7 +47,7 @@ static inline void __rb_insert_task_queue(struct task *newtask)
rb_link_node(&newtask->rb_node, parent, p);
}
static inline void rb_insert_task_queue(struct task *newtask)
static void rb_insert_task_queue(struct task *newtask)
{
__rb_insert_task_queue(newtask);
rb_insert_color(&newtask->rb_node, newtask->wq);