Module: kamailio
Branch: master
Commit: eabd1e2c49b3e67455d5d8b13809332832036fa8
URL:
https://github.com/kamailio/kamailio/commit/eabd1e2c49b3e67455d5d8b13809332…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-10T07:29:51+01:00
core: mem - qm malloc optimization factor increased to 15
---
Modified: src/core/mem/q_malloc.h
---
Diff:
https://github.com/kamailio/kamailio/commit/eabd1e2c49b3e67455d5d8b13809332…
Patch:
https://github.com/kamailio/kamailio/commit/eabd1e2c49b3e67455d5d8b13809332…
---
diff --git a/src/core/mem/q_malloc.h b/src/core/mem/q_malloc.h
index 47ea674d837..b3bfaab3689 100644
--- a/src/core/mem/q_malloc.h
+++ b/src/core/mem/q_malloc.h
@@ -46,7 +46,7 @@
#define MIN_FRAG_SIZE ROUNDTO
-#define QM_MALLOC_OPTIMIZE_FACTOR 14UL /*used below */
+#define QM_MALLOC_OPTIMIZE_FACTOR 15UL /*used below */
/* size to optimize for, (most allocs <= this size), must be 2^k */
#define QM_MALLOC_OPTIMIZE ((unsigned long)(1UL << QM_MALLOC_OPTIMIZE_FACTOR))