inet: frags: reorganize struct netns_frags
authorEric Dumazet <edumazet@google.com>
Wed, 10 Oct 2018 19:30:04 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:25 +0000 (09:13 +0200)
commit5b68fda0a455be7f48fdf97407de1aa09d046fdd
treeb11361d995ae6f43850a4902aecaa9554ec8311d
parent6060bcdcffaba68c3ff158a88faab6df27210ffc
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