commit | 02e4eb75912a5c8babccc1acdc9cc913989be04e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Apr 01 14:35:56 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Thu Apr 01 14:35:56 2010 +0200 |
tree | 482d37284f058ae8439c47bc57416440caa04f61 | |
parent | 902a3dd5e6b19048604ec533203d7d38a39505a2 [diff] |
netfilter: xt_hashlimit: RCU conversion 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>