summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r185514 (by jasone):Konstantin Belousov2009-05-031-11/+37
* Mostly synchronize lib/libthr and sys/kern/kern_umtx.c with the codeKonstantin Belousov2009-03-241-0/+11
* MFC:Jason Evans2008-11-101-12/+17
* MFC allocator improvements and fixes:Jason Evans2008-08-161-400/+341
* MFC allocator improvements and fixes:Jason Evans2008-06-161-161/+208
* MFC: Merge malloc(3) improvements and fixes. The highlights are:Jason Evans2008-03-071-1224/+2166
* Turn on MALLOC_PRODUCTION which turns off some stuff used for debuggingKen Smith2007-10-111-1/+1
* Fix junk/zero filling for realloc(). Junk filling was missing in one case,Jason Evans2007-06-151-36/+48
* Use size_t instead of unsigned for pagesize-related values, in order toJason Evans2007-03-291-4/+8
* Remove the run promotion/demotion machinery. Replace it with red-blackJason Evans2007-03-281-430/+219
* Fix some subtle bugs for posix_memalign() having to do with integerJason Evans2007-03-241-18/+43
* Fix posix_memalign() for large objects. Now that runs are extents ratherJason Evans2007-03-231-151/+297
* Use extents rather than binary buddies to track free pages withinJason Evans2007-03-231-323/+332
* Avoid using vsnprintf(3) unless MALLOC_STATS is defined, in order toJason Evans2007-03-201-152/+233
* Modify chunk_alloc() to prefer mmap()ed memory over sbrk()ed memory.Jason Evans2007-02-221-36/+40
* Fix a utrace(2)-related bug in calloc(3).Jason Evans2007-01-311-44/+56
* Implement chunk allocation/deallocation hysteresis by caching one spareJason Evans2006-12-231-51/+86
* Change the way base allocation is done for internal malloc dataJason Evans2006-09-081-56/+93
* Enable TLS on PowerPC.Marcel Moolenaar2006-09-011-1/+0
* Enable TLS on ia64.Marcel Moolenaar2006-09-011-1/+0
* Correctly handle the case in calloc(num, size) whereColin Percival2006-08-131-1/+1
* Define NO_TLS on PowerPC.Marcel Moolenaar2006-08-091-0/+1
* Conditionally expand the size_invs lookup table in arena_run_reg_dalloc()Jason Evans2006-07-271-1/+12
* Use 4 as QUANTUM_2POW_MIN on arm as it is on any other architecture, to avoidOlivier Houchard2006-07-271-1/+1
* Fix cpp logic in arena_malloc() to adjust size when assertions are enabled,Jason Evans2006-07-271-23/+19
* Use some math tricks in arena_run_reg_dalloc() to avoid actual division, asJason Evans2006-07-011-83/+90
* Make the behavior of malloc(0) standards-compliant by getting rid of nil,Jason Evans2006-06-301-48/+46
* Add a missing case for the switch statement in arena_run_reg_dalloc(). [1]Jason Evans2006-06-201-8/+20
* 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