]> git.kaiwu.me - haproxy.git/commit
MINOR: task: use LIST_DEL_INIT() to remove a task from the queue
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Mar 2019 18:34:25 +0000 (19:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Mar 2019 10:45:44 +0000 (11:45 +0100)
commitb238b12e98f402e4bb042d9fda639b891da595a3
treefb8650652c9a21a26a2cf6506b6a6aeeb92468e5
parentc5bd311b2a2caa2435ec8b830a492d9e8f0aa131
MINOR: task: use LIST_DEL_INIT() to remove a task from the queue

By using LIST_DEL_INIT() instead of LIST_DEL()+LIST_INIT() we manage
to bump the peak connection rate by no less than 3% on 8 threads.
The perf top profile shows much less contention in this area which
suffered from the second reload.
include/proto/task.h