Module: kamailio
Branch: master
Commit: 7cc22301b37ae2a214900af9628b148f59dcce21
URL:
https://github.com/kamailio/kamailio/commit/7cc22301b37ae2a214900af9628b148…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-10T08:24:51+01:00
core: mem - fm memory manager updated to align to 16
- same as malloc() on linux 64b
-
https://www.gnu.org/software/libc/manual/html_node/Aligned-Memory-Blocks.ht…
- some libraries (e.g., libwolfssl) expect such alignement for specific optimizations
- done even for 32b, expected rather low overhead in average, not expected many
chunks under 16 bytes versus those over
- malloc optimization factor increased to 15
---
Modified: src/core/mem/f_malloc.c
Modified: src/core/mem/f_malloc.h
---
Diff:
https://github.com/kamailio/kamailio/commit/7cc22301b37ae2a214900af9628b148…
Patch:
https://github.com/kamailio/kamailio/commit/7cc22301b37ae2a214900af9628b148…