commit | 4ed84c96cf1f523f56cb869e1b98afa376139920 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Feb 03 10:28:24 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 04 05:09:14 2019 +0100 |
tree | e62ff3223d1ffb643dc8d12ddac13572584bd220 | |
parent | fc647360e0ec520cf824c53fb023fff6fb4846ef [diff] |
OPTIM: listener: optimize cache-line packing for struct listener Some unused fields were placed early and some important ones were on the second cache line. Let's move the proto_list and name closer to the end of the structure to bring accept() and default_target() into the first cache line.