On Mon, Jan 23, 2017 at 06:21:52PM +0100, Florian Westphal wrote: > Whenever we fetch skb conntrack info, we need to access two > distinct cache lines in sk_buff, #2 (nfct pointer) and #3 > (nfctinfo bits). This series removes nfctinfo and joins it > with the data pointer in a single ulong. > > We have 3 nfctinfo bits, the slab cache used for nf_conn objects > guarantees at least 8 byte alignment so there is no overlap. > > For the conntrack templates most arches also guarantee an > 8 byte minalign, but not all. > > Patch #6 adds manual alignment of the templates if > ARCH_KMALLOC_MINALIGN isn't sufficient. > > A followup series to this one will resurrect an old patch from > Pablo that adds an 'untracked' ctinfo status, this then allows > to get rid of the conntrack template object (which in turn avoids > get/put atomic ops for untracked skbs). Series 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