netfilter: nf_queue: place volatile data in own cacheline
authorFlorian Westphal <fw@strlen.de>
Sun, 30 Oct 2016 23:35:07 +0000 (00:35 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 1 Nov 2016 19:50:33 +0000 (20:50 +0100)
commit886bc50348fd69972baa4616ce95b7dc9ff8afe7
treec79281c68edba4dea269def458998eb0456b7982
parente41e9d623cd77dbe970b15a4c06a0765c3657bdd
netfilter: nf_queue: place volatile data in own cacheline

As the comment indicates, the data at the end of nfqnl_instance struct is
written on every queue/dequeue, so it should reside in its own cacheline.

Before this change, 'lock' was in first cacheline so we dirtied both.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_queue.c