Re: [PATCH nf-next] x_tables: remove XT_TABLE_INFO_SZ and a dereference.

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

 



On Mon, Jun 15, 2015 at 09:57:30AM -0700, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
> 
> After Florian patches, there is no need for XT_TABLE_INFO_SZ anymore :
> Only one copy of table is kept, instead of one copy per cpu.
> 
> We also can avoid a dereference if we put table data right after
> xt_table_info. It reduces register pressure and helps compiler.
> 
> Then, we attempt a kmalloc() if total size is under order-3 allocation,
> to reduce TLB pressure, as in many cases, rules fit in 32 KB.

Applied, thanks a lot Eric.
--
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