]> git.ipfire.org Git - thirdparty/suricata.git/commit
pool: alloc a single area for all PoolBuckets
authorEric Leblond <eric@regit.org>
Thu, 26 Jul 2012 13:02:20 +0000 (15:02 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 3 Sep 2012 14:20:32 +0000 (16:20 +0200)
commitcd76c7e5fbf6c1ef455d0dc373f5e379af2342f1
tree7e4aa8b1bbe67645409a19dd4ac1b1394a17c706
parentb58ecd833a68fbc9e8e8ecba52527d816fe551c7
pool: alloc a single area for all PoolBuckets

As we know the number and the size of PoolBucket, we can simply
allocate a single memory zone.
src/util-pool.c
src/util-pool.h