Re: [PATCH next] netfilter: connlimit: move lock array out of struct connlimit_data

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

 



On Thu, Mar 20, 2014 at 11:53:39AM +0100, Florian Westphal wrote:
> Eric points out that the locks can be global.
> Moreover, both Jesper and Eric note that using only 32 locks increases
> false sharing as only two cache lines are used.
> 
> This increases locks to 256 (16 cache lines assuming 64byte cacheline and
> 4 bytes per spinlock).

Applied, thanks Florian.
--
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