git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268cb38
)
netfilter: ip_tables: unfold two critical loops in ip_packet_match()
author
Eric Dumazet
<dada1@cosmosbay.com>
Fri, 20 Feb 2009 10:03:33 +0000
(11:03 +0100)
committer
Patrick McHardy
<kaber@trash.net>
Fri, 20 Feb 2009 10:03:33 +0000
(11:03 +0100)
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>
No differences found