OSDN Git Service

inet: frags: reorganize struct netns_frags
authorEric Dumazet <edumazet@google.com>
Sat, 31 Mar 2018 19:58:57 +0000 (12:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 03:25:39 +0000 (23:25 -0400)
commitc2615cf5a761b32bf74e85bddc223dfff3d9b9f0
tree0bb32d58aa3e1d251d1b8d25aebc25317ba5eaa5
parente5d672a0780d9e7118caad4c171ec88b8299398d
inet: frags: reorganize struct netns_frags

Put the read-mostly fields in a separate cache line
at the beginning of struct netns_frags, to reduce
false sharing noticed in inet_frag_kill()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h