[sr-dev] git:master:fe379acb: mem: fix TLSF max pool limit

Camille Oudot camille.oudot at orange.com
Mon May 18 12:29:31 CEST 2015


Module: kamailio
Branch: master
Commit: fe379acb5f5956f60ac3304d8c01a3fa0719e0be
URL: https://github.com/kamailio/kamailio/commit/fe379acb5f5956f60ac3304d8c01a3fa0719e0be

Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at orange.com>
Date: 2015-05-18T12:27:12+02:00

mem: fix TLSF max pool limit

---

Modified: mem/tlsf.c

---

Diff:  https://github.com/kamailio/kamailio/commit/fe379acb5f5956f60ac3304d8c01a3fa0719e0be.diff
Patch: https://github.com/kamailio/kamailio/commit/fe379acb5f5956f60ac3304d8c01a3fa0719e0be.patch

---

diff --git a/mem/tlsf.c b/mem/tlsf.c
index 124409e..a800dd1 100644
--- a/mem/tlsf.c
+++ b/mem/tlsf.c
@@ -47,7 +47,7 @@ enum tlsf_private
 	** TODO: We can increase this to support larger sizes, at the expense
 	** of more overhead in the TLSF structure.
 	*/
-	FL_INDEX_MAX = 40,
+	FL_INDEX_MAX = 39,
 #else
 	FL_INDEX_MAX = 30,
 #endif




More information about the sr-dev mailing list