Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-07-15 | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | |
Only use MAP_SHARED when mmu-less. | |||
2004-01-16 | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | |
2004-01-14 | Include missing errno.h header (as noted by Alan Hourihane). | Eric Andersen | |
Fix uninitialized pthread mutex used to lock the list of aligned memory blocks. | |||
2003-12-30 | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | |
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 | |||
2003-12-30 | Update and restore malloc-simple. Slow as molasses, but trivially | Eric Andersen | |
simple and releases memory immediately when asked to do so. -Erik | |||
2002-07-18 | Miles Bader implemented a new mmap based malloc which is much | Eric Andersen | |
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! | |||
2002-07-10 | Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak | Eric Andersen | |
2002-01-17 | Fix simple malloc to work on systems with an MMU | David McCullough | |
2001-08-09 | Fix a couple of warnings | David McCullough | |
2001-04-27 | Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinko | Eric Andersen | |
on my patch. | |||
2001-04-25 | Be more strict with the malloc implementation. Return NULL | Eric Andersen | |
when folks do a malloc(0) using malloc-simple. -Erik | |||
2001-03-19 | Fix up breakage resulting from flipping the sense of some defines. Change from | Eric Andersen | |
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 | |||
2001-02-13 | Use MAP_FAILED. | Eric Andersen | |
2001-01-12 | Patch from James Graves <jgraves@deltamobile.com> to better handle m68k. | Eric Andersen | |
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik | |||
2000-10-11 | Finish reorganizing things. At least I think I've finished. | Eric Andersen | |
2000-10-09 | Bug ugly formatting update | Eric Andersen | |