Messages in this thread | | | Date | Wed, 15 Apr 2009 00:51:59 +0800 | Subject | Re: [PATCH] netfilter: use per-cpu spinlock rather than RCU | From | Jeff Chua <> |
| |
On Tue, Apr 14, 2009 at 11:49 PM, Eric Dumazet <dada1@cosmosbay.com> wrote: > Stephen Hemminger a écrit : >> On Tue, 14 Apr 2009 16:23:33 +0200 >> Eric Dumazet <dada1@cosmosbay.com> wrote: >> >>> Patrick McHardy a écrit : >>>> Stephen Hemminger wrote: >>>>> This is an alternative version of ip/ip6/arp tables locking using >>>>> per-cpu locks. This avoids the overhead of synchronize_net() during >>>>> update but still removes the expensive rwlock in earlier versions.
Tested. Loaded as fast as 2.6.29.
> Here is an updated patch ontop of yours, with the smp_wmb() in xt_replace_table() :
Tested as well. Loaded as fast as 2.6.29.
Thanks, Jeff. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |