Skip to content

Solve scalability issue for chain list "name" searching

Jesper Dangaard Brouer netfilter-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3Inline functions iptcc_is_builtin() and set_changed().libiptc/libiptc.c+2 -21 reply
2/3Introduce a counter for number of user defined chains.libiptc/libiptc.c+7 -11 reply
3/3Solving scalability issue: for chain list "name" searching.libiptc/libiptc.c+414 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Solve scalability issue for chain list "name" searching

Primary focus, of this patch set, is to solve a scalability issue; For chain list "name" searching. Functions:
iptcc_find_label(),iptc_is_chain().

It also includes a patch for inline'ing some functions, and introducing a chain counter.

The main patch still include some debugging print statements, that can be enabled by defining "DEBUG" when compiling the code. This kept to allow an easier code review.

The patches and test scripts, can also be found here:
http://people.netfilter.org/hawk/patches/scalability/bsearch/

The patches are tested against SVN r7147.

Signature · 7 lines
Med venlig hilsen / Best regards
  Jesper Brouer
  ComX Networks A/S
  Linux Network developer
  Cand. Scient Datalog / MSc.
  Author of http://adsl-optimizer.dk
  LinkedIn: http://www.linkedin.com/in/brouer