[MEDIUM] enhance behaviour of mempools v2
authorWilly Tarreau <w@1wt.eu>
Sun, 13 May 2007 22:16:13 +0000 (00:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 May 2007 22:16:13 +0000 (00:16 +0200)
commit7dcd46d4715b947e413b5a0cb13acb6c92182f59
tree059cb4e8dfb1f0150cdb4be3fa68da2f01fe221b
parent1d4154a7c0bc44a9d036846f005b04b2d0bbead9
[MEDIUM] enhance behaviour of mempools v2

- keep the number of users of each pool
- call the garbage collector on out of memory conditions
- sort the pools by size for faster creation
- force the alignment size to 16 bytes instead of 4*sizeof(void *)
include/common/memory.h
src/memory.c