commit | 339bb99e4a8ba1f8960eed21d50be808b35ad22a | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Jun 08 14:11:19 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Tue Jun 08 14:11:19 2010 +0200 |
tree | 077f679c919b00331569622e035a822e94492377 | |
parent | e12f8e29a8526172b7715881503bae636d60bdd8 [diff] |
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>