Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc ↵ | Mike Frysinger | 2005-07-06 | 1 | -0/+4 |
| | | | | test wont fail | ||||
* | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | 2004-07-15 | 1 | -2/+2 |
| | | | | Only use MAP_SHARED when mmu-less. | ||||
* | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | 2003-12-30 | 1 | -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 |