commit | 902871dd07db6e2e7a7139be5a571b4078fe49c3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 20 11:23:43 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 21 11:21:12 2020 +0100 |
tree | 0dc08f494a123ebc2abde42c7fdf49f25ae1eccd | |
parent | 7c9d0e1b20ec5e70089be1d526a75f7092b54a6e [diff] |
CLEANUP: epoll: place the struct epoll_event in the stack Historically we used to have a global epoll_event for various manipulations involving epoll_ctl() and when threads were added, this was turned to a thread_local, which is needlessly expensive since it's just a temporary variable. Let's move it to a local variable wherever it's called instead.