]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: make sched->current also reflect tasklets
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Jan 2020 09:39:03 +0000 (10:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Jan 2020 16:45:10 +0000 (17:45 +0100)
commitd23d413e3878d164a89175795df7d9134f048211
tree118bf60df0f531235b43b415a53b883c6e38326e
parentbb238834da6bfe0d70a47d2d8fb0ecfe161b58a9
MINOR: task: make sched->current also reflect tasklets

sched->current is used to know the current task/tasklet, and is currently
only used by the panic dump code. However it turns out it was not set for
tasklets, which prevents us from using it for more usages, despite the
panic handling code already handling this case very well. Let's make sure
it's now set.
src/task.c