commit | 7b81563443963571f909503863866ea5b76a3912 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 21 18:51:57 2011 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 23 19:08:46 2011 +0200 |
tree | 159c6ef269e350d5b6ca5f37e06e870d3975de91 | |
parent | 37229df9c118a410c9e677c56d870ef5c743c202 [diff] |
OPTIM/MINOR: move struct sockaddr_storage to the tail of structs Struct sockaddr_storage is huge (128 bytes) and severely impacts the cache. It also displaces other struct members, causing them to have larger relative offsets. By moving these few occurrences to the end of the structs which host them, we can reduce the code size by no less than 2 kB !