Re: [PATCH][v2] netfilter: ensure that CONNTRACK_LOCKS is power of 2

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

 



On Tue, Feb 26, 2019 at 05:20:52PM +0800, Li RongQing wrote:
> CONNTRACK_LOCKS is divisor when computer array index,
> if it is power of 2, compiler will optimize modulo
> operation as bitwise AND, or else modulo will lower
> performance

Applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux