commit | 88d18f81aed369da4ca2f1334a2c06d2c6f66f35 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 01 16:39:33 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jul 01 16:47:12 2020 +0200 |
tree | f01ccfba37d3104db2608de6eb863ca7e1dd5eb8 | |
parent | 617e80ff76c1dd9f6c47e0f5c38df4c38713602e [diff] |
MEDIUM: mux-fcgi: use task_kill() during fcgi_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 fcgi_takeover() calls. Let's use the new task_kill() instead to kill the task.