summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add comments and reformat/rearrange code. There are no significantjasone2006-03-261-208/+224
* Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), andjasone2006-03-241-21/+37
* Add USE_BRK-specific code in malloc_init_hard() to allow the firstjasone2006-03-241-65/+110
* Separate completely full runs from runs that are merely almost full, sojasone2006-03-201-61/+71
* Optimize realloc() to reallocate in place if the old and new sizes arejasone2006-03-191-105/+167
* Modify allocation policy, in order to avoid excessive fragmentation forjasone2006-03-171-2453/+1018
* Fix calculation of the number of arenas to use on multi-processor systems.jasone2006-02-041-1/+1
* Remove unwarranted uses of 'goto'.jasone2006-01-271-203/+153
* Add NO_MALLOC_EXTRAS, so that various extra features that can causejasone2006-01-271-3/+16
* Fix the type of a statistics counter (unsigned --> unsigned long).jasone2006-01-271-1/+1
* Clean up statistics gathering and printing.jasone2006-01-271-71/+64
* Optimize arena_bin_pop() to reduce the number of separator operations.jasone2006-01-261-13/+10
* Remove a redundant variable assignment in arena_reg_frag_alloc().jasone2006-01-251-1/+0
* If no coalesced exact-fit small regions are available, but delayed exact-jasone2006-01-251-173/+186
* Make the 'C' and 'c' malloc options consistent with other options; 'C'jasone2006-01-231-2/+2
* In arena_chunk_reg_alloc(), try to avoid touching the last page in thejasone2006-01-231-7/+24
* Use uintptr_t rather than size_t when casting pointers to integers. Also,jasone2006-01-201-44/+45
* Revert addtion of assertions in revision 1.99. These assertions causejasone2006-01-191-7/+0
* Add assertions that detect some forms of region separator corruption.jasone2006-01-191-0/+7
* Remove loops in arena_coalesce(). They are no longer necessary, now thatjasone2006-01-191-4/+5
* Make all internal variables and functions static.jasone2006-01-191-12/+15
* Return NULL if there is an OOM error during initialization, rather thanjasone2006-01-191-35/+50
* Add a separate simple internal base allocator and remove base_arena, so thatjasone2006-01-161-151/+175
* Define NO_TLS on ia64. The dynamic TLS implementation on ia64 ismarcel2006-01-161-0/+1
* Replace malloc(), calloc(), posix_memalign(), realloc(), and free() withjasone2006-01-131-927/+4481
* Fix a bitwise logic error in posix_memalign().jasone2006-01-121-2/+2
* In preparation for a new malloc implementation:jasone2006-01-121-0/+64
* Remove the check about whether MALLOC_EXTRA_SANITY is defined,delphij2005-02-271-2/+0
* Consistently use __inline instead of __inline__ as the former is an empty macrostefanf2004-07-041-3/+3
* Define malloc_pageshift and malloc_minsize for arm.cognet2004-05-141-0/+4
* Rearrange (centralize) initialization of mallocs internals to always bephk2004-03-071-19/+13
* Remove the triplicity in the public functions by vectoring them allphk2004-02-211-70/+49
* Move the check for sensitive processes to the point where the exceptionphk2004-02-211-14/+7
* Do not adjust to the pagesize at runtime. Besides for the one-timemarcel2003-11-281-8/+2
* Externalize malloc's spinlock so that a thread library can takedeischen2003-11-041-0/+1
* Remove incomplete support for running FreeBSD userland on old NetBSD kernelstjr2003-10-291-3/+1
* Consistently cast to (u_char *) when filling with junk.phk2003-10-251-3/+3
* Style changes. Inching closer to convergence with OpenBSD.phk2003-10-251-61/+60
OpenPOWER on IntegriCloud