]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
inet: frags: reorganize struct netns_frags
authorEric Dumazet <edumazet@google.com>
Thu, 13 Sep 2018 14:58:49 +0000 (07:58 -0700)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:48:04 +0000 (19:48 -0600)
commit7f7896885dac0a0ab2240a96f0c1bc4595d81e01
tree72e014ddeced332b854d4429775a94960c539b25
parent77af6582bc5dc2c133e5eb6f0b2a7487502a9f81
inet: frags: reorganize struct netns_frags

BugLink: https://bugs.launchpad.net/bugs/1836117
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/net/inet_frag.h