]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] reduce the number of calls to task_wakeup()
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2008 13:26:14 +0000 (15:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2008 09:19:07 +0000 (10:19 +0100)
commit4df8206832c365f7fcf4123b311414d664046e24
tree82ca6f806ffbc36e477d6cb83f1382fa2dc2598f
parentcb651251f9afeabc933abef4f34243fefd296101
[OPTIM] reduce the number of calls to task_wakeup()

A test has shown that more than 16% of the calls to task_wakeup()
could be avoided because the task is already woken up. So make it
inline and move the test to the inline part.
include/proto/task.h
src/task.c