summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* Increase the minimum chunk size by a power of two (32kB --> 64kB, assumingJason Evans2006-05-101-2/+2
* Change the semantics of brk_max to dynamically deal with data segmentJason Evans2006-04-271-71/+83
* Add an unreachable return statement, in order to avoid a compiler warningJason Evans2006-04-051-0/+1
* Only initialize the first per-chunk page map element for free runs. ThisJason Evans2006-04-051-31/+16
* Add init_lock, and use it to protect against allocator initializationJason Evans2006-04-041-8/+21
* Refactor per-run bitmap manipulation functions so that bitmap offsets onlyJason Evans2006-04-041-69/+131
* Optimize runtime performance, primary using the following techniques:Jason Evans2006-03-301-285/+294
* Add malloc_usable_size(3).Jason Evans2006-03-281-0/+20
* Allow the 'n' option to decrease the number of arenas below the default,Jason Evans2006-03-261-2/+16
* Add comments and reformat/rearrange code. There are no significantJason Evans2006-03-261-208/+224
* Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), andJason Evans2006-03-241-21/+37
* Add USE_BRK-specific code in malloc_init_hard() to allow the firstJason Evans2006-03-241-65/+110
* Separate completely full runs from runs that are merely almost full, soJason Evans2006-03-201-61/+71
* Optimize realloc() to reallocate in place if the old and new sizes areJason Evans2006-03-191-105/+167
* Modify allocation policy, in order to avoid excessive fragmentation forJason Evans2006-03-171-2453/+1018
* Fix calculation of the number of arenas to use on multi-processor systems.Jason Evans2006-02-041-1/+1
* Remove unwarranted uses of 'goto'.Jason Evans2006-01-271-203/+153
* Add NO_MALLOC_EXTRAS, so that various extra features that can causeJason Evans2006-01-271-3/+16
* Fix the type of a statistics counter (unsigned --> unsigned long).Jason Evans2006-01-271-1/+1
* Clean up statistics gathering and printing.Jason Evans2006-01-271-71/+64
* Optimize arena_bin_pop() to reduce the number of separator operations.Jason Evans2006-01-261-13/+10
* Remove a redundant variable assignment in arena_reg_frag_alloc().Jason Evans2006-01-251-1/+0
* If no coalesced exact-fit small regions are available, but delayed exact-Jason Evans2006-01-251-173/+186
* Make the 'C' and 'c' malloc options consistent with other options; 'C'Jason Evans2006-01-231-2/+2
* In arena_chunk_reg_alloc(), try to avoid touching the last page in theJason Evans2006-01-231-7/+24
* Use uintptr_t rather than size_t when casting pointers to integers. Also,Jason Evans2006-01-201-44/+45
* Revert addtion of assertions in revision 1.99. These assertions causeJason Evans2006-01-191-7/+0
* Add assertions that detect some forms of region separator corruption.Jason Evans2006-01-191-0/+7
* Remove loops in arena_coalesce(). They are no longer necessary, now thatJason Evans2006-01-191-4/+5
* Make all internal variables and functions static.Jason Evans2006-01-191-12/+15
* Return NULL if there is an OOM error during initialization, rather thanJason Evans2006-01-191-35/+50
* Add a separate simple internal base allocator and remove base_arena, so thatJason Evans2006-01-161-151/+175
* Define NO_TLS on ia64. The dynamic TLS implementation on ia64 isMarcel Moolenaar2006-01-161-0/+1
* Replace malloc(), calloc(), posix_memalign(), realloc(), and free() withJason Evans2006-01-131-927/+4481
* Fix a bitwise logic error in posix_memalign().Jason Evans2006-01-121-2/+2
* In preparation for a new malloc implementation:Jason Evans2006-01-121-0/+64
* Remove the check about whether MALLOC_EXTRA_SANITY is defined,Xin LI2005-02-271-2/+0
* Consistently use __inline instead of __inline__ as the former is an empty macroStefan Farfeleder2004-07-041-3/+3
* Define malloc_pageshift and malloc_minsize for arm.Olivier Houchard2004-05-141-0/+4
* Rearrange (centralize) initialization of mallocs internals to always bePoul-Henning Kamp2004-03-071-19/+13
* Remove the triplicity in the public functions by vectoring them allPoul-Henning Kamp2004-02-211-70/+49
* Move the check for sensitive processes to the point where the exceptionPoul-Henning Kamp2004-02-211-14/+7
* Do not adjust to the pagesize at runtime. Besides for the one-timeMarcel Moolenaar2003-11-281-8/+2
* Externalize malloc's spinlock so that a thread library can takeDaniel Eischen2003-11-041-0/+1
* Remove incomplete support for running FreeBSD userland on old NetBSD kernelsTim J. Robbins2003-10-291-3/+1
* Consistently cast to (u_char *) when filling with junk.Poul-Henning Kamp2003-10-251-3/+3
* Style changes. Inching closer to convergence with OpenBSD.Poul-Henning Kamp2003-10-251-61/+60
* More style fixes to improve diffability with OpenBSD.Poul-Henning Kamp2003-09-271-46/+54
* Style changes to improve diffability against OpenBSD version.Poul-Henning Kamp2003-09-271-91/+91
* Minor constification.Poul-Henning Kamp2003-07-291-2/+2