From: Eric Dumazet Date: Fri, 20 Feb 2009 10:03:33 +0000 (+0100) Subject: netfilter: ip_tables: unfold two critical loops in ip_packet_match() X-Git-Tag: v2.6.30-rc1~662^2~48^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08361aa807ae5e5007cd226ca9e34287512de737;p=pandora-kernel.git netfilter: ip_tables: unfold two critical loops in ip_packet_match() While doing oprofile tests I noticed two loops are not properly unrolled by gcc Using a hand coded unrolled loop provides nice speedup : ipt_do_table credited of 2.52 % of cpu instead of 3.29 % in tbench. Signed-off-by: Eric Dumazet Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed