diff options
author | Eric Dumazet <edumazet@google.com> | 2018-03-31 12:58:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-31 23:25:39 -0400 |
commit | e5d672a0780d9e7118caad4c171ec88b8299398d (patch) | |
tree | 2d885d704df9eee43788e94bcac1142dd9b519fc /include/net/inet_frag.h | |
parent | 05c0b86b9696802fd0ce5676a92a63f1b455bdf3 (diff) | |
download | linux-e5d672a0780d9e7118caad4c171ec88b8299398d.tar.bz2 |
rhashtable: reorganize struct rhashtable layout
While under frags DDOS I noticed unfortunate false sharing between
@nelems and @params.automatic_shrinking
Move @nelems at the end of struct rhashtable so that first cache line
is shared between all cpus, because almost never dirtied.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_frag.h')
0 files changed, 0 insertions, 0 deletions