summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard
AgeCommit message (Collapse)Author
2004-07-15Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.Eric Andersen
Only use MAP_SHARED when mmu-less.
2003-12-30Fix the manditory typo in my last minute untested fix.Eric Andersen
-Erik
2003-12-30Rework malloc. The new default implementation is based on dlmalloc from DougEric 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