inet: frags: reorganize struct netns_frags
authorEric Dumazet <edumazet@google.com>
Thu, 13 Sep 2018 14:58:49 +0000 (07:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:43:46 +0000 (22:43 +0200)
commit8291cd943a9b4e2d764a4a294999bbb2f94f153c
tree9cafd2b88fbe5740a27096c65dbaf1f003bde583
parentbd946fb5226e205530bea2581d867642e4b457ed
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>
(cherry picked from commit c2615cf5a761b32bf74e85bddc223dfff3d9b9f0)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/inet_frag.h