malloc-simple's __libc_free_aligned is public?

Rob Landley rob at landley.net
Mon Oct 27 20:30:30 UTC 2008


On Monday 27 October 2008 12:15:30 Bernhard Reutner-Fischer wrote:
> On Mon, Oct 27, 2008 at 02:21:55PM +0100, Bernd Schmidt wrote:
> >Rob Landley wrote:
> >> So svn 23660 broke arm with my .config, but if I change my .config from
> >> MALLOC=y to MALLOC_STANDARD=y it works again.
> >>
> >> Does anybody understand the difference between the "MALLOC"
> >> and "MALLOC_SIMPLE" options?  The make help is not being useful here.
> >>
> >> Off to try MALLOC_SIMPLE...
> >
> >MALLOC_SIMPLE has disastrously bad performance.  It should be removed.
>
> ------------------------------------------------------------------------
> r8199 | andersen | 2003-12-30 02:41:14 +0100 (Tue, 30 Dec 2003) | 4
> lines
>
> Update and restore malloc-simple.  Slow as molasses, but trivially
> simple and releases memory immediately when asked to do so.
>  -Erik
>
> Let me hide __libc_free_aligned for now (there is no immediately
> obvious reason why that would be a public weak function, would anybody
> know?)
>
> We could remove it later, after the release, but not right now.

Actually, rather than removing it, perhaps add this patch to the help text?  
(svn diff, so patch -p0).

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mallochelp.patch
Type: text/x-diff
Size: 1388 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20081027/3d485aab/attachment.bin 


More information about the uClibc mailing list