mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
Revert "netfilter: x_tables: Switch synchronization to RCU"
This reverts commitcc00bcaa58. This (and the preceding) patch basically re-implemented the RCU mechanisms of patch784544739a. That patch was replaced because of the performance problems that it created when replacing tables. Now, we have the same issue: the call to synchronize_rcu() makes replacing tables slower by as much as an order of magnitude. Prior to using RCU a script calling "iptables" approx. 200 times was taking 1.16s. With RCU this increased to 11.59s. Revert these patches and fix the issue in a different way. Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
abe7034b9a
commit
d3d40f2374
5 changed files with 56 additions and 40 deletions
Loading…
Add table
Add a link
Reference in a new issue