[sr-dev] new memory allocator proposal: TLSF

Jason Penton jason.penton at gmail.com
Wed Apr 22 11:41:33 CEST 2015


Hey Camille,

This looks great! nice work!



On Wed, 22 Apr 2015 at 11:37 Camille Oudot <camille.oudot at orange.com> wrote:

> Hi Daniel,
>
> > From the commit logs I noticed it is only for shm now, right?
> >
> > The log about enabling it:
> >
> > - use
> >     MEMMNG=1 MEMDBG=0 extra_defs='-DTLSF_MALLOC=1
> >   to enable
>
> That's right, i've only integrated it for shm, got to work on
> integrating it for pkg.
>
> > Does it still require q_malloc? In other words, is it built on top of
> > q_malloc?
>
> No, it's independent of q_malloc (despite the typo for shm_available
> #define that i've got to fix).
>
> > The code can be merged right now if the new mem manager is disabled by
> > default. We can review and test thoroughly during next period and
> > polish the options to enable it.
>
> Great, then i'll fix the previously mentioned typo and merge it. It is
> indeed disabled by default.
>
> --
> Camille
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150422/a280f48d/attachment.html>


More information about the sr-dev mailing list