summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch,Jason Evans2012-04-171-6270/+0
* Add aligned_alloc(3).Ed Schouten2012-01-091-0/+14
* Since clang does not support the tls_model attribute used in malloc.cDimitry Andric2011-12-151-2/+10
* Change sparc64 to use the initial exec TLS model, too. This avoids randomMarius Strobl2011-06-211-1/+1
* Now that TLS generally is available on sparc64 since r219534 turn onMarius Strobl2011-03-111-1/+1
* Use aux vector to get values for SSP canary, pagesize, pagesizes array,Konstantin Belousov2010-08-171-7/+16
* Provide 64-bit PowerPC support in libc.Nathan Whitehorn2010-07-101-1/+6
* Rewrite red-black trees to do lazy balance fixup. This improvesJason Evans2010-02-281-10/+20
* Define TLS_MODEL for PowerPC as well. Since PowerPC uses variant I,Marcel Moolenaar2010-02-161-0/+1
* Unbreak ia64: tls_model("initial-exec") is invalid, because it assumesMarcel Moolenaar2010-02-161-11/+9
* Fix bugs:Jason Evans2010-01-311-1281/+1951
* Add missing return, in a rare case where we can't allocate memory inEd Maste2010-01-271-0/+1
* Simplify arena_run_reg_dalloc(), and remove a bug that was due to incorrectJason Evans2009-12-101-89/+28
* Fix the posix_memalign() changes in r196861 to actually return a NULL pointerJason Evans2009-12-101-0/+1
* Change the utrace log entry for malloc_init from (0, 0, 0) to (-1, 0, 0)Colin Percival2009-11-141-1/+1
* Make malloc(3) superpage aware. Specifically, if getpagesizes(3) returnsAlan Cox2009-09-261-0/+15
* Handle zero size for posix_memalign. Return NULL or unique addressKonstantin Belousov2009-09-051-0/+9
* Fix a lock order reversal bug that could cause deadlock during fork(2).Jason Evans2008-12-011-11/+37
* Adjust an assertion to handle the case where a lock is contested, butJason Evans2008-11-301-1/+1
* Do not spin when trying to lock on a single-CPU system.Jason Evans2008-11-301-11/+13
* Revert to preferring mmap(2) over sbrk(2) when mapping memory, due toJason Evans2008-11-031-12/+17
* Use PAGE_{SIZE,MASK,SHIFT} from machine/param.h rather than hard-codingJason Evans2008-09-101-120/+88
* Unbreak ia64: pges are 8KB.Marcel Moolenaar2008-09-061-1/+1
* Add thread-specific caching for small size classes, based on magazines.Jason Evans2008-08-271-231/+1080
* Move CPU_SPINWAIT into the innermost spin loop, in order to allow fasterJason Evans2008-08-141-2/+3
* Re-order the terms of an expression in arena_run_reg_dalloc() to correctlyJason Evans2008-08-141-2/+2
* Remove variables which are assigned values and never used thereafter.Colin Percival2008-08-081-5/+1
* Enhance arena_chunk_map_t to directly support run coalescing, and useJason Evans2008-07-181-394/+338
* In the error path through base_alloc(), release base_mtx [1].Jason Evans2008-06-101-3/+7
* Add a separate tree to track arena chunks that contain dirty pages.Jason Evans2008-05-011-157/+133
* Set QUANTUM_2POW_MIN and SIZEOF_PTR_2POW parameters for MIPSOleksandr Tymoshenko2008-04-291-0/+5
* Check for integer overflow before calling sbrk(2), since it uses aJason Evans2008-04-291-0/+7
* Implement red-black trees without using parent pointers, and store theJason Evans2008-04-231-116/+171
* Remove stale #include <machine/atomic.h>, which as needed by lazyJason Evans2008-03-071-4/+4
* Fix a race condition in arena_ralloc() for shrinking in-place largeJason Evans2008-02-171-25/+41
* Remove support for lazy deallocation. Benchmarks across a wide range ofJason Evans2008-02-171-209/+3
* Fix a bug in lazy deallocation that was introduced whenJason Evans2008-02-081-7/+10
* Clean up manipulation of chunk page map elements to remove some tenuousJason Evans2008-02-081-362/+357
* Track dirty unused pages so that they can be purged if they exceed aJason Evans2008-02-061-664/+956
* Enable both sbrk(2)- and mmap(2)-based memory acquisition methods byJason Evans2008-01-031-7/+8
* Fix a major chunk-related memory leak in chunk_dealloc_dss_record(). [1]Jason Evans2007-12-311-65/+56
* Fix a bug related to sbrk() calls that could cause address space leaks.Jason Evans2007-12-311-186/+268
* Back out premature commit of previous version.Jason Evans2007-12-281-183/+113
* Maintain two trees instead of one (old_chunks --> old_chunks_{ad,szad}) inJason Evans2007-12-281-113/+183
* Release chunks_mtx for all paths through chunk_dealloc().Jason Evans2007-12-281-1/+4
* Add the 'D' and 'M' run time options, and use them to control whetherJason Evans2007-12-271-291/+435
* Use fixed point integer math instead of floating point math whenJason Evans2007-12-181-42/+47
* Refactor features a bit in order to make it possible to disable lazyJason Evans2007-12-171-52/+127
* Only zero large allocations when necessary (for calloc()).Jason Evans2007-11-281-1/+1
* Implement dynamic load balancing of thread-->arena mapping, based on lockJason Evans2007-11-271-58/+297