Re: [PATCH nf-next v2 0/5] netfilter: conntrack: shrink size of netns_ct

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

 



On Mon, Apr 12, 2021 at 09:55:39PM +0200, Florian Westphal wrote:
> v2: fix linker error when PROCFS=n. This only affects patch 4/5, no
> other changes.
> 
> This reduces size of the netns_ct structure, which itself is embedded
> in struct net.
> 
> First two patches move two helper related settings to net_generic,
> these are only accessed when a new connection is added.
> 
> Patches 3 and 4 move the ct and expect counter to net_generic too.
> While these are used from packet path, they are not accessed when
> conntack finds an existing entry.
> 
> This also makes netns_ct a read-mostly structure, at this time each
> newly accepted conntrack dirties the first netns_ct cacheline for other
> cpus.
> 
> Last patch converts a few sysctls to u8.  Most conntrack sysctls are
> timeouts, so these need to be kept as ints.

Series applied, thanks.



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

  Powered by Linux