netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/3] Additional nf_hook_entry compaction
@ 2016-11-15 22:48 Aaron Conole
  2016-11-15 22:48 ` [PATCH nf-next 1/3] netfilter: introduce accessor functions for hook entries Aaron Conole
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Aaron Conole @ 2016-11-15 22:48 UTC (permalink / raw)
  To: netfilter-devel
  Cc: Pablo Neira Ayuso, Florian Westphal, Jozsef Kadlecsik, coreteam,
	David S . Miller

This series introduces a set of accessors, compacts the nf_hook_entry, and
rearranges some of the loops in preparation for the final set of work going
to an array based hook system.

After this series, the nf_hook_entry should fit in a cacheline on a modern
Intel i7.

Tested on bare-metal system.

Aaron Conole (3):
  netfilter: introduce accessor functions for hook entries
  netfilter: decouple nf_hook_entry and nf_hook_ops
  netfilter: convert while loops to for loops

 include/linux/netfilter.h       | 31 ++++++++++++++++++++++++++++++-
 net/bridge/br_netfilter_hooks.c |  8 ++++----
 net/netfilter/core.c            | 16 ++++++----------
 net/netfilter/nf_queue.c        |  5 ++---
 4 files changed, 42 insertions(+), 18 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-04 20:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-15 22:48 [PATCH nf-next 0/3] Additional nf_hook_entry compaction Aaron Conole
2016-11-15 22:48 ` [PATCH nf-next 1/3] netfilter: introduce accessor functions for hook entries Aaron Conole
2016-11-15 22:48 ` [PATCH nf-next 2/3] netfilter: decouple nf_hook_entry and nf_hook_ops Aaron Conole
2016-11-15 22:48 ` [PATCH nf-next 3/3] netfilter: convert while loops to for loops Aaron Conole
2016-12-04 20:11 ` [PATCH nf-next 0/3] Additional nf_hook_entry compaction Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).