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:
380517d
)
[NETFILTER]: nf_conntrack: optimize hash_conntrack()
author
Patrick McHardy
<kaber@trash.net>
Thu, 31 Jan 2008 12:40:52 +0000
(
04:40
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Feb 2008 03:27:57 +0000
(19:27 -0800)
Avoid calling jhash three times and hash the entire tuple in one go.
__hash_conntrack | -485 # 760 -> 275, # inlines: 3 -> 1, size inlines: 717 -> 252
1 function changed, 485 bytes removed
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_core.c
patch
|
blob
|
history
diff --cc
net/netfilter/nf_conntrack_core.c
Simple merge