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