]> source.dussan.org Git - rspamd.git/commit
[Project] Start reworking of the mempool structure
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Dec 2019 15:14:02 +0000 (15:14 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Dec 2019 15:14:02 +0000 (15:14 +0000)
commite9dd8a1fa2841fa0e2a4bb983b74c738cbc8ef68
treecc34d8a6a2e6e466918b20019ddfdd1a08af7832
parent9ac29d2a364575a7c58510d60dd739e42701e509
[Project] Start reworking of the mempool structure

- Hide implementation details
- Pre-allocate one chain on start
- Organize destructors as a list of structures
- Use posix_memalign instead of malloc
- Adjust allocation layout
src/libserver/task.c
src/libutil/mem_pool.c
src/libutil/mem_pool.h
src/libutil/mem_pool_internal.h [new file with mode: 0644]