diff options
author | Andrew Clayton <andrew@digital-domain.net> | 2022-05-05 01:19:00 +0100 |
---|---|---|
committer | Andrew Clayton <andrew@digital-domain.net> | 2022-06-15 20:31:00 +0100 |
commit | 7d99882da7526f50bae10c4077d9aeefac1dc40d (patch) | |
tree | dc27073722c6928ec24b8d041a907612e2a2a3e6 /test | |
parent | 6a8081d71e805b12d0f7fd32ce72d60babadfc85 (diff) | |
download | unit-7d99882da7526f50bae10c4077d9aeefac1dc40d.tar.gz unit-7d99882da7526f50bae10c4077d9aeefac1dc40d.tar.bz2 |
Router: removed unused structure member proxy_buffers.
proxy_buffers is declared as a structure member of nxt_socket_conf_t and
is set in nxt_router_conf_create(), however it is not used anywhere.
Removing it has the nice side effect of making the nxt_socket_conf_t
structure require one less cacheline (on x86-64 at least) as the summary
from pahole[0] shows
Before
/* size: 200, cachelines: 4, members: 25 */
/* sum members: 185, holes: 3, sum holes: 15 */
After
/* size: 192, cachelines: 3, members: 24 */
/* sum members: 177, holes: 3, sum holes: 15 */
[0]: https://github.com/acmel/dwarves
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions