Re: [NETFILTER 42/69]: nf_conntrack: optimize hash_conntrack()

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

 



From: Philip Craig <philipc@xxxxxxxxxxxx>
Date: Tue, 29 Apr 2008 14:48:27 +1000

> I prefer to remove the padding so that we don't change how other
> architectures work.  The attached patch does this.  I'm not sure
> if this has any performance penalties on ARM. 
> 
> The attribute(packed) is required on both the port structs
> and the unions.

It has performance penalties on most RISC architectures.

Now these elements cannot be assumed to have any particular
alignment, so gcc will emit byte-at-a-time accesses to these
elements.
--
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