summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-standard/malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-251-1/+1
|
* Finalize the merge from the trunk. There are more files to be"Steven J. Hill"2005-07-301-0/+4
| | | | merged, but they will be done manually.
* Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.Eric Andersen2004-07-151-2/+2
| | | | Only use MAP_SHARED when mmu-less.
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-301-0/+1160
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