]> git.kaiwu.me - haproxy.git/commit
MINOR: sched: do not punish self-waking tasklets anymore
authorWilly Tarreau <wtarreau@haproxy.com>
Sat, 21 Mar 2026 16:40:59 +0000 (16:40 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2026 05:55:31 +0000 (06:55 +0100)
commit6982c2539f11c8e64368043b58e537b86cf5a7c5
tree97276c1e799d5a228081a5249ceeb800614b84d0
parent9852d5be26db905884dfa5e8ed48d2a500694c32
MINOR: sched: do not punish self-waking tasklets anymore

Nowadays due to yield etc, it's counter-productive to permanently
punish self-waking tasklets, let's abandon this principle as it prevent
finer task priority handling.

We continue to check for the TASK_SELF_WAKING flag to place a task
into TL_BULK in case some code wants to make use of it in the future
(similarly to TASK_HEAVY), but no code sets it anymore. It could
possible make sense in the future to replace this flag with a one-shot
variant requesting low-priority.
src/task.c