aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-27 19:27:21 +0000
committerJakub Kicinski <[email protected]>2024-02-28 20:21:24 -0800
commit99123622050f10ca9148a0fffba2de0afd6cdfff (patch)
treeeeeb3af790af199b74887551e2063642f9b7cf63 /scripts/rustdoc_test_builder.rs
parent82a48affb36f1fee36fe415051a8947d42861108 (diff)
tcp: remove some holes in struct tcp_sock
By moving some fields around, this patch shrinks holes size from 56 to 32, saving 24 bytes on 64bit arches. After the patch pahole gives the following for 'struct tcp_sock': /* size: 2304, cachelines: 36, members: 162 */ /* sum members: 2234, holes: 6, sum holes: 32 */ /* sum bitfield members: 34 bits, bit holes: 5, sum bit holes: 14 bits */ /* padding: 32 */ /* paddings: 3, sum paddings: 10 */ /* forced alignments: 1, forced holes: 1, sum forced holes: 12 */ Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions