diff options
author | Paolo Abeni <pabeni@redhat.com> | 2021-08-24 16:26:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-25 11:02:34 +0100 |
commit | d7b269083786dca3b1b0141bde6cea834062b691 (patch) | |
tree | 7ea30ec79213588b734c1d1e5bcf338244f8f798 /.gitattributes | |
parent | 1bff1e43a30e2f7500a49d47fd26a425643a6a37 (diff) | |
download | lwn-d7b269083786dca3b1b0141bde6cea834062b691.tar.gz lwn-d7b269083786dca3b1b0141bde6cea834062b691.zip |
mptcp: shrink mptcp_out_options struct
After the previous patch we can alias with a union several
fields in mptcp_out_options. Such struct is stack allocated and
memset() for each plain TCP out packet. Every saved byted counts.
Before:
pahole -EC mptcp_out_options
# ...
/* size: 136, cachelines: 3, members: 17 */
After:
pahole -EC mptcp_out_options
# ...
/* size: 56, cachelines: 1, members: 9 */
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions