summaryrefslogtreecommitdiff
path: root/src/malloc
AgeCommit message (Expand)AuthorFilesLines
2020-06-30import mallocngRich Felker7-13/+938
2020-06-29add glue code for mallocng mergeRich Felker3-0/+129
2020-06-16only use memcpy realloc to shrink if an exact-sized free chunk existsRich Felker1-0/+12
2020-06-16fix memset overflow in oldmalloc race fix overhaulRich Felker1-1/+1
2020-06-10only disable aligned_alloc if malloc was replaced but it wasn'tRich Felker1-1/+2
2020-06-10have ldso track replacement of aligned_allocRich Felker1-0/+1
2020-06-10reintroduce calloc elison of memset for direct-mmapped allocationsRich Felker2-1/+14
2020-06-10move __malloc_replaced to a top-level malloc fileRich Felker2-2/+3
2020-06-10switch to a common calloc implementationRich Felker3-47/+37
2020-06-03move oldmalloc to its own directory under src/mallocRich Felker4-0/+0
2020-06-03move __expand_heap into malloc.cRich Felker3-73/+64
2020-06-03rename memalign source file back to its proper nameRich Felker1-0/+0
2020-06-03rename aligned_alloc source file back to its proper nameRich Felker1-0/+0
2020-06-03reverse dependency order of memalign and aligned_allocRich Felker4-10/+5
2020-06-03rename aligned_alloc source fileRich Felker1-0/+0
2020-06-03remove stale document from malloc src directoryRich Felker1-22/+0
2020-06-03rewrite bump allocator to fix corner cases, decouple from expand_heapRich Felker1-17/+72
2020-06-02move malloc_impl.h from src/internal to src/mallocRich Felker1-0/+43
2020-06-02fix unbounded heap expansion race in mallocRich Felker1-152/+87
2020-05-22restore lock-skipping for processes that return to single-threaded stateRich Felker1-1/+4
2020-05-22don't use libc.threads_minus_1 as relaxed atomic for skipping locksRich Felker1-1/+1
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker1-1/+1
2018-09-12reduce spurious inclusion of libc.hRich Felker1-1/+0
2018-09-12hide dependency-triggering pointer object in malloc_usable_size.cRich Felker1-2/+2
2018-09-12rework malloc_usable_size to use malloc_impl.hRich Felker1-9/+1
2018-09-12move __memalign declaration to malloc_impl.hRich Felker2-4/+2
2018-09-12move declarations for malloc internals to malloc_impl.hRich Felker3-6/+2
2018-04-19reintroduce hardening against partially-replaced allocatorRich Felker2-5/+10
2018-04-19return chunks split off by memalign using __bin_chunk instead of freeRich Felker2-7/+5
2018-04-19using malloc implementation types/macros/idioms for memalignRich Felker1-20/+22
2018-04-19move malloc implementation types and macros to an internal headerRich Felker1-37/+1
2018-04-19revert detection of partially-replaced allocatorRich Felker3-15/+6
2018-04-18allow interposition/replacement of allocator (malloc)Rich Felker4-23/+30
2018-04-17remove unused __brk function/source fileRich Felker1-7/+0
2018-04-17comment __malloc_donate overflow logicRich Felker1-0/+3
2018-04-17ldso, malloc: implement reclaim_gaps via __malloc_donateAlexander Monakov1-18/+43
2018-04-17malloc: fix an over-allocation bugAlexander Monakov1-4/+4
2018-04-11optimize malloc0Alexander Monakov1-6/+23
2018-01-09revise the definition of multiple basic locks in the codeJens Gustedt1-1/+1
2017-07-04fix undefined behavior in freeAlexander Monakov1-2/+3
2017-06-15handle mremap failure in realloc of mmap-serviced allocationsRich Felker1-1/+2
2016-12-17use lookup table for malloc bin index instead of float conversionSzabolcs Nagy1-2/+12
2016-01-31fix malloc_usable_size for NULL inputSzabolcs Nagy1-1/+1
2015-11-04remove external linkage from __simple_malloc definitionRich Felker1-1/+1
2015-08-07mitigate blow-up of heap size under malloc/free contentionRich Felker1-14/+14
2015-06-22fix regression/typo that disabled __simple_malloc when calloc is usedRich Felker1-1/+1
2015-06-22fix calloc when __simple_malloc implementation is usedRich Felker3-12/+15
2015-06-14refactor malloc's expand_heap to share with __simple_mallocRich Felker3-81/+126
2015-06-09in malloc, refuse to use brk if it grows into stackRich Felker1-1/+9
2015-03-04remove useless check of bin match in mallocRich Felker1-1/+1