]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: task: split the large tasklet_wakeup_on() function in two
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Feb 2021 16:51:38 +0000 (17:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Feb 2021 16:55:58 +0000 (17:55 +0100)
commit9c6dbf0eea7382665bdd9e53bd7e249962a40973
tree5cb59d78bf1d2652f7807b9a8372d5220e797358
parent955a11ebfaa1546e67dc21f8751208b2f67d086c
CLEANUP: task: split the large tasklet_wakeup_on() function in two

This function has become large with the multi-queue scheduler. We need
to keep the fast path and the debugging parts inlined, but the rest now
moves to task.c just like was done for task_wakeup(). This has reduced
the code size by 6kB due to less inlining of large parts that are always
context-dependent, and as a side effect, has increased the overall
performance by 1%.
include/haproxy/task.h
src/task.c