On Fri, May 21, 2010 at 10:34 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > Le vendredi 21 mai 2010 à 07:43 +0800, Changli Gao a écrit : >> >> and we have to do insertion and deletion in serial with rbtree, so >> rbtree doesn't scales as well as hash tables for parallel processing, >> if there are many insertions and deletions operations. >> >> > > Before saying such things, you should read the source code Changli, > because you only propagate wrong information. > > conntrack uses a single lock, so inserts and deletes _are_ serialized, > _even_ with hash table. > Sorry. I should add "Off Topic", as I said that for common cases, not for conntracking. -- Regards, Changli Gao(xiaosuo@xxxxxxxxx) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html