]> git.kaiwu.me - haproxy.git/commit
MINOR: sched: do not requeue a tasklet into the current queue
authorWilly Tarreau <wtarreau@haproxy.com>
Sat, 21 Mar 2026 14:52:52 +0000 (14:52 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2026 05:54:42 +0000 (06:54 +0100)
commit9852d5be26db905884dfa5e8ed48d2a500694c32
treea4c2edcb3284f081fe18657913a7f848a226b4e1
parent7d40b3134aeceffa9641b2c1ac6f0c8d10026577
MINOR: sched: do not requeue a tasklet into the current queue

As found by Christopher, the concept of waking a tasklet up into the
current queue is totally flawed, because if a task is in TL_BULK or
TL_HEAVY, all the tasklets it will wake up will end up in the same
queue. Not only this will clobber such queues, but it will also
reduce their quality of service, and this can contaminate other
tasklets due to the numerous wakeups there are now with the subsribe
mechanism between layers.
src/task.c