mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 06:02:08 +00:00
[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:
parent
92f2ab1b1f
commit
b1b8272a54
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user