diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2009-02-20 11:03:33 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-02-20 11:03:33 +0100 |
commit | 08361aa807ae5e5007cd226ca9e34287512de737 (patch) | |
tree | 2b0a51af98e4df407f7bce90ca8cd1a065691b1c /net/ipv4/udp_impl.h | |
parent | 268cb38e1802db560c73167e643f14a3dcb4b07c (diff) | |
download | talos-obmc-linux-08361aa807ae5e5007cd226ca9e34287512de737.tar.gz talos-obmc-linux-08361aa807ae5e5007cd226ca9e34287512de737.zip |
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 <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/udp_impl.h')
0 files changed, 0 insertions, 0 deletions