summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-standard/memalign.c
Commit message (Collapse)AuthorAgeFilesLines
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-7/+11
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* rename local var brk to _brkMike Frysinger2006-01-311-6/+6
|
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-301-0/+126
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