]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: queue: revert to regular inter-task wakeups
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2022 14:10:05 +0000 (16:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit3fdacdddaff55c754b24813f4832518b87791efc
tree738bca0fed798570d930d63c245aad3993c0e724
parent319d136ff9f0832da980e4c210bfac9e0fdd2900
MEDIUM: queue: revert to regular inter-task wakeups

Now that the inter-task wakeups are cheap, there's no point in using
task_instant_wakeup() anymore when dequeueing tasks. The use of the
regular task_wakeup() is sufficient there and will preserve a better
fairness: the test that went from 40k to 570k RPS now gives 580k RPS
(down from 585k RPS with previous commit). This essentially reverts
commit 27fab1dcb ("MEDIUM: queue: use tasklet_instant_wakeup() to
wake tasks").
src/queue.c