commit | b992ba16ef4b7cb3e293a16229e21df599f412b0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 05 19:09:27 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 06 11:20:11 2017 +0100 |
tree | 668126826279006e8cc371ed1bb662acdc80fde2 | |
parent | 8d38805d3d9ee732d549918c29ea3446459fae63 [diff] |
MINOR: task: simplify wake_expired_tasks() to avoid unlocking in the loop This function is sensitive, let's make it shorter by factoring out the unlock and leave code. This reduced the function's size by a few tens of bytes and increased the overall performance by about 1%.