aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool.c
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-72/+72
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-181-3/+3
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Minor] Allow to steal variables from the mempoolVsevolod Stakhov2023-12-061-0/+25
|
* [Minor] Remove unused variablesLinus Nordberg2023-09-081-3/+1
|
* [Minor] Do not use crypto PRG for mempool uidsVsevolod Stakhov2023-08-231-7/+4
|
* [Minor] Restore mempool_strdup bahaviour when arg is NULLVsevolod Stakhov2023-08-171-0/+3
|
* [Rework] Further conversion routinesVsevolod Stakhov2023-08-151-2/+6
|
* [Rework] Finish utils reworkVsevolod Stakhov2023-08-141-1/+1
|
* [Rework] Use more c++ in cfg_utilsVsevolod Stakhov2023-08-141-4/+4
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-411/+393
| | | | No meaningful changes.
* [Fix] Mempool: Fix alloc_array function to actually multiply nmembers by sizeVsevolod Stakhov2022-06-291-1/+1
| | | | Found by: @citrin
* [Minor] Remove unused functionVsevolod Stakhov2022-06-161-17/+0
|
* [Minor] Add array allocation methods to handle integer overflowVsevolod Stakhov2022-04-011-0/+19
|
* Spelling (#4086)Josh Soref2022-02-221-1/+1
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Fix arguments orderVsevolod Stakhov2021-12-041-1/+2
|
* [Rework] Mempool: Use explicit alignmentVsevolod Stakhov2021-12-041-24/+31
|
* [Minor] Sanity check as ctors order is not definedVsevolod Stakhov2021-04-161-3/+8
| | | | Issue: #3721
* [Fix] Fix variables replacement in mempoolVsevolod Stakhov2020-03-101-0/+9
|
* [Minor] Fix free logic reversal (as dtors are now in variables themselves)Vsevolod Stakhov2020-01-271-51/+60
|
* [Rework] Use faster hashing approach for memory pools variablesVsevolod Stakhov2020-01-271-12/+100
|
* [Minor] Sync ffi defsVsevolod Stakhov2019-12-231-1/+1
|
* [Project] Track more memory allocations in a taskVsevolod Stakhov2019-12-231-3/+3
|
* [Project] Add rspamd_mempool_notify_alloc functionVsevolod Stakhov2019-12-231-13/+22
|
* [Project] Sort by memory usageVsevolod Stakhov2019-12-231-2/+31
|
* [Project] Show debug stat for memory poolVsevolod Stakhov2019-12-231-2/+51
|
* [Project] Support mempool flagsVsevolod Stakhov2019-12-231-23/+39
|
* [Project] Fix issues with mempool alloc/freeVsevolod Stakhov2019-12-231-15/+15
|
* [Project] Start reworking of the mempool structureVsevolod Stakhov2019-12-231-126/+133
| | | | | | | | - 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
* [Minor] Track memory usage in mempoolVsevolod Stakhov2019-12-121-0/+6
|
* [Fix] Fix crash due to constructors init orderVsevolod Stakhov2019-10-121-2/+3
| | | | Issue: #3079
* [Rework] Rework initialisation to reduce static leaks countVsevolod Stakhov2019-09-271-9/+20
|
* [Fix] Fix alignment messVsevolod Stakhov2019-06-271-6/+6
| | | | Issue: #2945
* [Minor] Use simple list for pool chains instead of ptr arraysVsevolod Stakhov2019-06-261-70/+28
|
* [Minor] Fix various warningsVsevolod Stakhov2019-04-071-1/+1
|
* [Fix] Fix various issues found by PVS StudioVsevolod Stakhov2019-03-131-10/+8
| | | | https://www.viva64.com/
* [Minor] Core: Oops, fix long standing misprint (yeild -> yield)Vsevolod Stakhov2019-01-231-1/+1
|
* [Minor] g_abort requires quite a recent glibVsevolod Stakhov2018-10-291-1/+1
|
* [Minor] Add more attributesVsevolod Stakhov2018-10-261-2/+8
|
* [Fix] Another try to fix race conditions on config unloadVsevolod Stakhov2018-09-101-1/+21
|
* [Minor] Support old jemalloc and osx system allocatorVsevolod Stakhov2018-06-161-12/+28
|
* [Minor] Allocate larger config static poolVsevolod Stakhov2018-01-271-1/+7
|
* [Minor] Use jemalloc hinting to select the appropriate pool sizeVsevolod Stakhov2017-12-091-5/+13
|
* [Rework] Kill metrics!11Vsevolod Stakhov2017-11-041-2/+0
|
* [Fix] Stop using of g_slice...Vsevolod Stakhov2017-10-271-5/+5
|
* [Minor] Remove unused functionsVsevolod Stakhov2017-08-271-18/+0
|
* [Minor] Add some limits for auto mempool adjustmentVsevolod Stakhov2017-08-241-0/+9
|
* [Minor] Fix empty pools handlingVsevolod Stakhov2017-08-241-6/+6
|
* [Minor] Khash performs realloc, so it is unsafe to use it by valueVsevolod Stakhov2017-08-231-4/+6
|
* [Minor] Fix sanity checkVsevolod Stakhov2017-08-231-3/+7
|
* [Minor] Reset old statsVsevolod Stakhov2017-08-231-0/+2
|