summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-standard
Commit message (Collapse)AuthorAgeFilesLines
* add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc ↵Mike Frysinger2005-07-061-0/+4
| | | | test wont fail
* merge parallel build supportMike Frysinger2005-01-251-5/+4
|
* Avoid compiler warnings.Peter Kjellerstedt2005-01-192-43/+43
|
* Some requested additional malloc entry pointsEric Andersen2004-11-082-0/+56
|
* Mike Frysinger writes:Eric Andersen2004-08-251-0/+3
| | | | | | | | | | | this was sent earlier in a different form: http://www.uclibc.org/lists/uclibc/2004-January/008136.html find attached a smaller version ... perhaps adding a fprintf to stderr before calling abort would be nice like in the glibc patch, but whatever glibc has since adopted a similar fix for their malloc (third hunk, line 1970) http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h -mike
* _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZEEric Andersen2004-07-151-1/+1
| | | | instead, but we are not such a system and should not propagate such things.
* Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.Eric Andersen2004-07-152-4/+13
| | | | Only use MAP_SHARED when mmu-less.
* Fix the manditory typo in my last minute untested fix.Eric Andersen2003-12-301-1/+1
| | | | -Erik
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-309-0/+3147
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