diff options
| author | Eric Dumazet <edumazet@google.com> | 2018-10-10 12:30:03 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-08 11:25:32 +0100 |
| commit | 33990010ea40454a41c4c5dc78d26165579578ca (patch) | |
| tree | b1e8dd4c52b84c92894713d3f1a1e1014ea5ff55 /include/linux/debugobjects.h | |
| parent | bf8187348f264b720d5bc165703afeb1dee36f14 (diff) | |
rhashtable: reorganize struct rhashtable layout
commit e5d672a0780d9e7118caad4c171ec88b8299398d upstream.
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>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
