summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* Remove stale #include <machine/atomic.h>, which as needed by lazyjasone2008-03-071-4/+4
* Fix a race condition in arena_ralloc() for shrinking in-place largejasone2008-02-171-25/+41
* Remove support for lazy deallocation. Benchmarks across a wide range ofjasone2008-02-171-209/+3
* Fix a bug in lazy deallocation that was introduced whenjasone2008-02-081-7/+10
* Clean up manipulation of chunk page map elements to remove some tenuousjasone2008-02-081-362/+357
* Track dirty unused pages so that they can be purged if they exceed ajasone2008-02-061-664/+956
* Enable both sbrk(2)- and mmap(2)-based memory acquisition methods byjasone2008-01-031-7/+8
* Fix a major chunk-related memory leak in chunk_dealloc_dss_record(). [1]jasone2007-12-311-65/+56
* Fix a bug related to sbrk() calls that could cause address space leaks.jasone2007-12-311-186/+268
* Back out premature commit of previous version.jasone2007-12-281-183/+113
* Maintain two trees instead of one (old_chunks --> old_chunks_{ad,szad}) injasone2007-12-281-113/+183
* Release chunks_mtx for all paths through chunk_dealloc().jasone2007-12-281-1/+4
* Add the 'D' and 'M' run time options, and use them to control whetherjasone2007-12-271-291/+435
* Use fixed point integer math instead of floating point math whenjasone2007-12-181-42/+47
* Refactor features a bit in order to make it possible to disable lazyjasone2007-12-171-52/+127
* Only zero large allocations when necessary (for calloc()).jasone2007-11-281-1/+1
* Implement dynamic load balancing of thread-->arena mapping, based on lockjasone2007-11-271-58/+297
* Implement lazy deallocation of small objects. For each arena, maintain ajasone2007-11-271-0/+218
* Avoid re-zeroing memory in calloc() when possible.jasone2007-11-271-143/+218
* Fix stats printing of the amount of memory currently consumed by hugejasone2007-11-271-36/+37
* Fix junk/zero filling for realloc(). Junk filling was missing in one case,jasone2007-06-151-36/+48
* Use size_t instead of unsigned for pagesize-related values, in order tojasone2007-03-291-4/+8
* Remove the run promotion/demotion machinery. Replace it with red-blackjasone2007-03-281-430/+219
* Fix some subtle bugs for posix_memalign() having to do with integerjasone2007-03-241-18/+43
* Fix posix_memalign() for large objects. Now that runs are extents ratherjasone2007-03-231-151/+297
* Use extents rather than binary buddies to track free pages withinjasone2007-03-231-323/+332
* Avoid using vsnprintf(3) unless MALLOC_STATS is defined, in order tojasone2007-03-201-152/+233
* Modify chunk_alloc() to prefer mmap()ed memory over sbrk()ed memory.jasone2007-02-221-36/+40
* Fix a utrace(2)-related bug in calloc(3).jasone2007-01-311-44/+56
* Implement chunk allocation/deallocation hysteresis by caching one sparejasone2006-12-231-51/+86
* Change the way base allocation is done for internal malloc datajasone2006-09-081-56/+93
* Enable TLS on PowerPC.marcel2006-09-011-1/+0
* Enable TLS on ia64.marcel2006-09-011-1/+0
* Correctly handle the case in calloc(num, size) wherecperciva2006-08-131-1/+1
* Define NO_TLS on PowerPC.marcel2006-08-091-0/+1
* Conditionally expand the size_invs lookup table in arena_run_reg_dalloc()jasone2006-07-271-1/+12
* Use 4 as QUANTUM_2POW_MIN on arm as it is on any other architecture, to avoidcognet2006-07-271-1/+1
* Fix cpp logic in arena_malloc() to adjust size when assertions are enabled,jasone2006-07-271-23/+19
* Use some math tricks in arena_run_reg_dalloc() to avoid actual division, asjasone2006-07-011-83/+90
* Make the behavior of malloc(0) standards-compliant by getting rid of nil,jasone2006-06-301-48/+46
* Add a missing case for the switch statement in arena_run_reg_dalloc(). [1]jasone2006-06-201-8/+20
* Increase the minimum chunk size by a power of two (32kB --> 64kB, assumingjasone2006-05-101-2/+2
* Change the semantics of brk_max to dynamically deal with data segmentjasone2006-04-271-71/+83
* Add an unreachable return statement, in order to avoid a compiler warningjasone2006-04-051-0/+1
* Only initialize the first per-chunk page map element for free runs. Thisjasone2006-04-051-31/+16
* Add init_lock, and use it to protect against allocator initializationjasone2006-04-041-8/+21
* Refactor per-run bitmap manipulation functions so that bitmap offsets onlyjasone2006-04-041-69/+131
* Optimize runtime performance, primary using the following techniques:jasone2006-03-301-285/+294
* Add malloc_usable_size(3).jasone2006-03-281-0/+20
* Allow the 'n' option to decrease the number of arenas below the default,jasone2006-03-261-2/+16
OpenPOWER on IntegriCloud