diff options
author | Eric Dumazet <edumazet@google.com> | 2021-03-25 19:08:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 01:39:33 +0100 |
commit | 4ecc1baf362c5df2dcabe242511e38ee28486545 (patch) | |
tree | 59d80b979dda8c40215678a1f394bad170686178 /Documentation | |
parent | inet: convert tcp_early_demux and udp_early_demux to u8 (diff) | |
download | linux-4ecc1baf362c5df2dcabe242511e38ee28486545.tar.xz linux-4ecc1baf362c5df2dcabe242511e38ee28486545.zip |
tcp: convert elligible sysctls to u8
Many tcp sysctls are either bools or small ints that can fit into u8.
Reducing space taken by sysctls can save few cache line misses
when sending/receiving data while cpu caches are empty,
for example after cpu idle period.
This is hard to measure with typical network performance tests,
but after this patch, struct netns_ipv4 has shrunk
by three cache lines.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions