Re: [PATCH] nfnetlink_queue: use hash table to speed up entry lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le mercredi 21 avril 2010 à 14:35 +0200, Patrick McHardy a écrit :

> > I also think there are too much tricks in my code above, but Eric
> > concerns the performance of modulo.
> 
> Alternatively we could round the hash size to the next power of
> two to avoid this.

Sure, and my comments were about flex_array() abuse of divides ;)


--
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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux