[PATCH nf-next 0/3] Additional nf_hook_entry compaction

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

 



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

--
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