]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: use task_kill() during h2_takeover() instead of task_wakeup()
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 14:39:33 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 14:47:12 +0000 (16:47 +0200)
commit617e80ff76c1dd9f6c47e0f5c38df4c38713602e
treeca242ff0c807dba90f050c6224467d4a3d7b836a
parent09e0d9ecbc49d33635f2b035864b086b317fa2dd
MEDIUM: mux-h2: use task_kill() during h2_takeover() instead of task_wakeup()

task_wakeup() passes the task through the global run queue under the
global RQ lock, which is expensive when dealing with large amounts of
h2_takeover() calls. Let's use the new task_kill() instead to kill the
task.
src/mux_h2.c