netfilter: xt_rateest: Better struct xt_rateest layout
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 8 Jun 2010 12:11:19 +0000 (14:11 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 8 Jun 2010 12:11:19 +0000 (14:11 +0200)
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>

No differences found