Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | POSIX requires that errno be set whenever 0 is returned by malloc() | Mike Frysinger | 2007-04-02 | 1 | -1/+4 |
| | |||||
* | rename local "brk" var so it doesnt namespace collide with the brk() function | Mike Frysinger | 2006-12-17 | 1 | -18/+18 |
| | |||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 1 | -25/+26 |
| | | | | | | | 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. | ||||
* | fix from psm: makes use of the malloc debug option in malloc-standard as well | Mike Frysinger | 2006-08-25 | 1 | -5/+5 |
| | |||||
* | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | 2006-03-10 | 1 | -1/+0 |
| | | | | most of global data relocations are back | ||||
* | Go __malloc_lock, go ... | Peter S. Mazinger | 2006-02-01 | 1 | -0/+1 |
| | |||||
* | Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵ | Peter S. Mazinger | 2006-01-22 | 1 | -1/+0 |
| | | | | is a useless attempt | ||||
* | 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 |