Module: kamailio
Branch: master
Commit: a5bc1c03968b797ac03d5b648ad3b417dfee265d
URL:
https://github.com/kamailio/kamailio/commit/a5bc1c03968b797ac03d5b648ad3b41…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-09T20:33:31+01:00
core: mem - qm 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
---
Modified: src/core/mem/q_malloc.c
Modified: src/core/mem/q_malloc.h
---
Diff:
https://github.com/kamailio/kamailio/commit/a5bc1c03968b797ac03d5b648ad3b41…
Patch:
https://github.com/kamailio/kamailio/commit/a5bc1c03968b797ac03d5b648ad3b41…