diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-08 14:11:19 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-06-08 14:11:19 +0200 |
commit | 339bb99e4a8ba1f8960eed21d50be808b35ad22a (patch) | |
tree | 077f679c919b00331569622e035a822e94492377 /net | |
parent | e12f8e29a8526172b7715881503bae636d60bdd8 (diff) | |
download | op-kernel-dev-339bb99e4a8ba1f8960eed21d50be808b35ad22a.zip op-kernel-dev-339bb99e4a8ba1f8960eed21d50be808b35ad22a.tar.gz |
netfilter: xt_rateest: Better struct xt_rateest layout
We currently dirty two cache lines in struct xt_rateest, this hurts SMP
performance.
This patch moves lock/bstats/rstats at beginning of structure so that
they share a single cache line.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions