summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-simple
Commit message (Collapse)AuthorAgeFilesLines
* update syntaxMike Frysinger2005-07-071-87/+83
|
* Yoshinori Sato writes:Mike Frysinger2005-07-071-22/+7
| | | | | | Dont forgive that length of munmap is "0" in current nommu. This purpose cannot free memory area really. It is a patch to work out a solution.
* merge parallel build supportMike Frysinger2005-01-251-7/+5
|
* Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.Eric Andersen2004-07-151-2/+2
| | | | Only use MAP_SHARED when mmu-less.
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-161-4/+4
|
* Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen2004-01-141-3/+5
| | | | | Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-301-7/+22
| | | | | | | 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
* Update and restore malloc-simple. Slow as molasses, but triviallyEric Andersen2003-12-302-0/+233
| | | | | simple and releases memory immediately when asked to do so. -Erik
* Miles Bader implemented a new mmap based malloc which is muchEric Andersen2002-07-183-223/+0
| | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles!
* Disable debug stuff by defaultEric Andersen2002-07-161-1/+1
|
* Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leakEric Andersen2002-07-101-1/+1
|
* Fix simple malloc to work on systems with an MMUDavid McCullough2002-01-171-9/+31
|
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Fix a couple of warningsDavid McCullough2001-08-091-2/+2
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-2/+1
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinkoEric Andersen2001-04-271-1/+2
| | | | on my patch.
* Be more strict with the malloc implementation. Return NULLEric Andersen2001-04-251-5/+10
| | | | | when folks do a malloc(0) using malloc-simple. -Erik
* Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen2001-03-191-3/+4
| | | | | | | | defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
* Use MAP_FAILED.Eric Andersen2001-02-131-1/+1
|
* Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen2001-01-121-2/+4
| | | | | | Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-2/+2
|
* Fix doc blunder.Eric Andersen2000-11-041-4/+4
|
* Make spelling of uClibc be consistant.Eric Andersen2000-11-041-1/+1
|
* Strip all object files of all non global symbols and .note andEric Andersen2000-10-201-1/+4
| | | | | .comment, saving a lot of space in the resultant binaries... -Erik
* Screwed up non-mmu support. #define was backwards.Eric Andersen2000-10-121-1/+1
| | | | -Erik
* Finish reorganizing things. At least I think I've finished.Eric Andersen2000-10-112-3/+7
|
* Bug ugly formatting updateEric Andersen2000-10-093-0/+185