aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIvan Vecera <[email protected]>2018-07-10 20:59:45 +0000
committerDavid S. Miller <[email protected]>2018-07-12 07:03:30 +0000
commit646d2c10aaa060281b4ce7c1d3649d7df2ba9e7f (patch)
tree36ac1ceb55de51e3c73ac2eeecea9699cec7dc5a /net/ipv4/tcp_input.c
parentbe2net: reorder fields in be_eq_obj structure (diff)
downloadkernel-646d2c10aaa060281b4ce7c1d3649d7df2ba9e7f.tar.gz
kernel-646d2c10aaa060281b4ce7c1d3649d7df2ba9e7f.zip
be2net: move txcp field in be_tx_obj to eliminate holes in the struct
Before patch: struct be_tx_obj { u32 db_offset; /* 0 4 */ /* XXX 4 bytes hole, try to pack */ struct be_queue_info q; /* 8 56 */ /* --- cacheline 1 boundary (64 bytes) --- */ struct be_queue_info cq; /* 64 56 */ struct be_tx_compl_info txcp; /* 120 4 */ /* XXX 4 bytes hole, try to pack */ /* --- cacheline 2 boundary (128 bytes) --- */ struct sk_buff * sent_skb_list[2048]; /* 128 16384 */ ... }: After patch: struct be_tx_obj { u32 db_offset; /* 0 4 */ struct be_tx_compl_info txcp; /* 4 4 */ struct be_queue_info q; /* 8 56 */ /* --- cacheline 1 boundary (64 bytes) --- */ struct be_queue_info cq; /* 64 56 */ struct sk_buff * sent_skb_list[2048]; /* 120 16384 */ ... }; Signed-off-by: Ivan Vecera <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions