]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: make task_instant_wakeup() explicitly call _tasklet_wakeup_here()
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2026 14:04:59 +0000 (16:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2026 17:08:00 +0000 (19:08 +0200)
commit56f6a049bd38cc5839b373eae2cc7d2f43e73ba0
treed692f4e1c63d714e7b04565529c4793727e7fc42
parent721e9321156fca104deba0581b8cd70c5ac427eb
MINOR: task: make task_instant_wakeup() explicitly call _tasklet_wakeup_here()

This patch moves the tid check upper in the chain, in task_instant_wakeup()
so as to branch to _tasklet_wakeup_here() for run-anywhere tasks, or
_tasklet_wakeup_on() for designated threads.

At this point there is no longer any direct caller of __tasklet_wakeup_on()
passing a negative thread value.
include/haproxy/task.h