summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-standard/malloc.h
Commit message (Collapse)AuthorAgeFilesLines
* malloc: simplify MAP_UNINITIALIZE ifdef logicMike Frysinger2010-07-271-7/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* nommu: use MAP_UNINITIALIZE for mallocsMike Frysinger2009-11-231-1/+1
| | | | | | | | | Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use it to get real uninitialized memory on no-mmu systems. This avoids a lot of normally useless overhead involved in zeroing out all of the memory (sometimes multiple times). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-4/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-1/+1
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-2/+2
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-6/+5
| | | | | | | 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 wellMike Frysinger2006-08-251-2/+2
|
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-1/+0
| | | | most of global data relocations are back
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-1/+1
|
* Go __malloc_lock, go ...Peter S. Mazinger2006-02-011-0/+1
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-4/+5
| | | | missing headers, other jump relocs removed
* __malloc_consolidate is only libc internal, enable use of __sbrkPeter S. Mazinger2005-12-131-1/+2
|
* mmap/mremap/socket/rewind gonePeter S. Mazinger2005-12-081-0/+1
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-6/+3
|
* Hiding againPeter S. Mazinger2005-11-291-0/+2
|
* Mike Frysinger writes:Eric Andersen2004-08-251-0/+3
| | | | | | | | | | | this was sent earlier in a different form: http://www.uclibc.org/lists/uclibc/2004-January/008136.html find attached a smaller version ... perhaps adding a fprintf to stderr before calling abort would be nice like in the glibc patch, but whatever glibc has since adopted a similar fix for their malloc (third hunk, line 1970) http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h -mike
* _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZEEric Andersen2004-07-151-1/+1
| | | | instead, but we are not such a system and should not propagate such things.
* Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.Eric Andersen2004-07-151-2/+11
| | | | Only use MAP_SHARED when mmu-less.
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-301-0/+953
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