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:
902a3dd
)
netfilter: xt_hashlimit: RCU conversion
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 1 Apr 2010 12:35:56 +0000
(14:35 +0200)
committer
Patrick McHardy
<kaber@trash.net>
Thu, 1 Apr 2010 12:35:56 +0000
(14:35 +0200)
xt_hashlimit uses a central lock per hash table and suffers from
contention on some workloads. (Multiqueue NIC or if RPS is enabled)
After RCU conversion, central lock is only used when a writer wants to
add or delete an entry.
For 'readers', updating an existing entry, they use an individual lock
per entry.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_hashlimit.c
patch
|
blob
|
history
diff --cc
net/netfilter/xt_hashlimit.c
Simple merge