<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/libc/stdlib/malloc-930716, branch 0.9.32-alpine</title>
<subtitle>Where we track our uclibc patches
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/'/>
<entry>
<title>Rework malloc.  The new default implementation is based on dlmalloc from Doug</title>
<updated>2003-12-30T10:40:49+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-12-30T10:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=8d532c51318bad2436880ecac972c9dfa3996c9b'/>
<id>8d532c51318bad2436880ecac972c9dfa3996c9b</id>
<content type='text'>
Lea.  It is about 2x faster than the old malloc-930716, and behave itself much
better -- it will properly release memory back to the system, and it uses a
combination of brk() for small allocations and mmap() for larger allocations.
 -Erik
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lea.  It is about 2x faster than the old malloc-930716, and behave itself much
better -- it will properly release memory back to the system, and it uses a
combination of brk() for small allocations and mmap() for larger allocations.
 -Erik
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a long-standing bug with pthreads.  A couple of linuxthreads files</title>
<updated>2003-12-27T23:30:50+00:00</updated>
<author>
<name>Manuel Novoa III</name>
<email>mjn3@codepoet.org</email>
</author>
<published>2003-12-27T23:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=d05dafe2fc23137f8decd641d82d23f45e16281c'/>
<id>d05dafe2fc23137f8decd641d82d23f45e16281c</id>
<content type='text'>
were including libc-lock.h which had a bunch of weak pragmas.  Also,
uClibc supplied a number of no-op weak thread functions even though
many weren't needed.  This combined result was that sometimes the
functional versions of thread functions in pthread would not override
the weaks in libc.

While fixing this, I also prepended double-underscore to all necessary
weak thread funcs in uClibc, and removed all unused weaks.

I did a test build, but haven't tested this since these changes are
a backport from my working tree.  I did test the changes there and
no longer need to explicitly add -lpthread in the perl build for
perl to pass its thread self tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
were including libc-lock.h which had a bunch of weak pragmas.  Also,
uClibc supplied a number of no-op weak thread functions even though
many weren't needed.  This combined result was that sometimes the
functional versions of thread functions in pthread would not override
the weaks in libc.

While fixing this, I also prepended double-underscore to all necessary
weak thread funcs in uClibc, and removed all unused weaks.

I did a test build, but haven't tested this since these changes are
a backport from my working tree.  I did test the changes there and
no longer need to explicitly add -lpthread in the perl build for
perl to pass its thread self tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Peter Kjellerstedt writes:</title>
<updated>2003-10-18T10:20:59+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-10-18T10:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=dd3fb0f8c1c10fcee804f11a4eed84316c5f694b'/>
<id>dd3fb0f8c1c10fcee804f11a4eed84316c5f694b</id>
<content type='text'>
rm.patch:
* Define $(RM) as rm -f in Rules.mak and test/Rules.mak
  (this is the same definition as gmake uses by default).
* Change all occurrences of rm and rm -f into $(RM).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rm.patch:
* Define $(RM) as rm -f in Rules.mak and test/Rules.mak
  (this is the same definition as gmake uses by default).
* Change all occurrences of rm and rm -f into $(RM).
</pre>
</div>
</content>
</entry>
<entry>
<title>Doh!!!</title>
<updated>2003-10-17T09:05:20+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-10-17T09:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=26f49b28b1eab5a021a821c1dadbdfcedc6b47c4'/>
<id>26f49b28b1eab5a021a821c1dadbdfcedc6b47c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not set errno when they asked for size 0</title>
<updated>2003-10-16T14:21:26+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-10-16T14:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=1c010194a0b02ca2fdec15b4c7577873c250b391'/>
<id>1c010194a0b02ca2fdec15b4c7577873c250b391</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix errno values.  Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,</title>
<updated>2003-09-06T11:49:28+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-09-06T11:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=cd34085f2c93441324f86172613a20cd899bddea'/>
<id>cd34085f2c93441324f86172613a20cd899bddea</id>
<content type='text'>
which was reversed.  Provide more consistancy between implementations.
Handle it when people do stupid things like malloc(-1);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
which was reversed.  Provide more consistancy between implementations.
Handle it when people do stupid things like malloc(-1);
</pre>
</div>
</content>
</entry>
<entry>
<title>Add in a MALLOC_GLIBC_COMPAT option to let people decide if they</title>
<updated>2003-08-08T10:30:12+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-08-08T10:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=a4ba059034124cbdc0232b805a7fdf07994c8618'/>
<id>a4ba059034124cbdc0232b805a7fdf07994c8618</id>
<content type='text'>
want glibc style malloc(0) behavior
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
want glibc style malloc(0) behavior
</pre>
</div>
</content>
</entry>
<entry>
<title>Kill the needless '#if 1'</title>
<updated>2003-01-23T09:06:36+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2003-01-23T09:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=a5ccd4df72ddc8a76ee662de645ca85d0d30052f'/>
<id>a5ccd4df72ddc8a76ee662de645ca85d0d30052f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>split-out memalign and realloc</title>
<updated>2002-09-05T05:54:26+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2002-09-05T05:54:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=ccf964b4c2b384d4e005a358f781e49cd6f89c68'/>
<id>ccf964b4c2b384d4e005a358f781e49cd6f89c68</id>
<content type='text'>
 -Erik
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 -Erik
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sjhill happy, and revive memalign</title>
<updated>2002-09-04T20:44:36+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2002-09-04T20:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=9613b6597870a299954fad327b0dfbda8cf8a91b'/>
<id>9613b6597870a299954fad327b0dfbda8cf8a91b</id>
<content type='text'>
 -Erik
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 -Erik
</pre>
</div>
</content>
</entry>
</feed>
