From: Eric Dumazet Date: Tue, 8 Jun 2010 12:11:19 +0000 (+0200) Subject: netfilter: xt_rateest: Better struct xt_rateest layout X-Git-Tag: v2.6.36-rc1~571^2~577^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339bb99e4a8ba1f8960eed21d50be808b35ad22a;p=pandora-kernel.git 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 Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed