Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make free chunk size a multiple of MALLOC_ALIGNMENT | H.J. Lu | 2012-05-24 | 1 | -4/+6 |
| | |||||
* | Properly handle MALLOC_ALIGNMENT > 2 * SIZE_SZ | H.J. Lu | 2012-05-24 | 1 | -14/+64 |
| | |||||
* | Fix last change | Andreas Jaeger | 2012-05-21 | 1 | -0/+2 |
| | | | | Include shlib-compat.h for SHLIB_COMPAT. | ||||
* | Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs. | Roland McGrath | 2012-05-21 | 1 | -10/+14 |
| | |||||
* | For [BZ #208], accumulate malloc stats over all arenas. | Paul Pluzhnikov | 2012-05-16 | 1 | -19/+32 |
| | |||||
* | Move stdio-common/_itoa.h to sysdeps/generic | H.J. Lu | 2012-03-20 | 1 | -1/+1 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 1 | -3/+2 |
| | |||||
* | Cleanups of malloc | Ulrich Drepper | 2012-01-31 | 1 | -165/+110 |
| | | | | Remove ugly names and unnecessary wrappers. | ||||
* | More minor malloc cleanups | Ulrich Drepper | 2012-01-17 | 1 | -24/+1 |
| | |||||
* | Minor cleanups of malloc code | Ulrich Drepper | 2012-01-16 | 1 | -52/+0 |
| | |||||
* | Remove pre-ISO C support | Ulrich Drepper | 2012-01-07 | 1 | -9/+9 |
| | | | | No more __const. | ||||
* | Implement aligned_alloc | Ulrich Drepper | 2012-01-01 | 1 | -0/+2 |
| | |||||
* | Avoid assertion in processes with VM in bad shape | Ulrich Drepper | 2011-10-29 | 1 | -4/+4 |
| | |||||
* | Remove MALLOC_FAILURE_ACTION use in malloc | Ulrich Drepper | 2011-09-10 | 1 | -19/+4 |
| | |||||
* | Simplify malloc initialization | Ulrich Drepper | 2011-09-10 | 1 | -38/+31 |
| | | | | | | Singificantly reduce the code needed at malloc initialization. In the process getpagesize is simplified by always initializing GLRO(dl_pagesize). | ||||
* | Simplify malloc code | Ulrich Drepper | 2011-09-10 | 1 | -1447/+203 |
| | | | | Remove all kinds of unused configuration options and dead code. | ||||
* | Remove support for !USE___THREAD | Ulrich Drepper | 2011-09-10 | 1 | -13/+1 |
| | |||||
* | Remove doubled words. | Jim Meyering | 2011-04-22 | 1 | -2/+2 |
| | |||||
* | Use fastbin macro everywhere. | Ulrich Drepper | 2010-12-25 | 1 | -1/+1 |
| | |||||
* | Fix perturbing in malloc on free. | Ulrich Drepper | 2010-10-24 | 1 | -2/+2 |
| | |||||
* | Replace divide and multiply with mask in sYSTRIm | Anton Blanchard | 2010-08-16 | 1 | -1/+1 |
| | |||||
* | Fix race in free sanity check. | Ulrich Drepper | 2010-05-06 | 1 | -6/+9 |
| | |||||
* | Remove unintended change. | Ulrich Drepper | 2010-04-14 | 1 | -4/+0 |
| | |||||
* | Optimie x86-64 SSE4 memcmp for unaligned data. | H.J. Lu | 2010-04-14 | 1 | -0/+4 |
| | |||||
* | Fix possibly uninitilized variable handling. | Ulrich Drepper | 2010-04-08 | 1 | -0/+1 |
| | | | | | | If malloc errors are ignored (which say aren't by default and never should be) malloc in the old, slow form might use an uninitialized variable. | ||||
* | One more sanity check in free. | Ulrich Drepper | 2010-04-03 | 1 | -1/+14 |
| | |||||
* | Fix set_max_fast in malloc. | Ulrich Drepper | 2010-04-03 | 1 | -1/+2 |
| | |||||
* | Remove stale reference to website | Ulrich Drepper | 2010-03-26 | 1 | -2/+1 |
| | |||||
* | Remove unwanted malloc changes, again. | Ulrich Drepper | 2010-03-26 | 1 | -14/+1 |
| | |||||
* | Merge branch 'master' of ssh://sources.redhat.com/git/glibc | Ulrich Drepper | 2010-03-25 | 1 | -1/+14 |
| | | | | | Conflicts: ChangeLog | ||||
* | Fix typos I added in malloc.c | Ulrich Drepper | 2010-02-24 | 1 | -2/+2 |
| | |||||
* | Fix assertion in palloc and pvalloc as well. | Petr Baudis | 2010-02-24 | 1 | -7/+9 |
| | |||||
* | Undo unintended maloc change. | Ulrich Drepper | 2010-02-10 | 1 | -15/+2 |
| | |||||
* | Avoid PLT call to fegetenv on s390 | Andreas Schwab | 2010-02-09 | 1 | -2/+15 |
| | |||||
* | Fix malloc_info without prioor allocations. | Ulrich Drepper | 2010-01-14 | 1 | -17/+24 |
| | |||||
* | Fix typos in format strings of malloc_info. | John Sullivan | 2009-10-29 | 1 | -2/+2 |
| | |||||
* | Add local assert function to avoid problems with memory allocation in | Ulrich Drepper | 2009-08-31 | 1 | -439/+461 |
| | | | | the real one. | ||||
* | Fix race in corruption check. | Ulrich Drepper | 2009-07-16 | 1 | -2/+23 |
| | | | | | | With atomic fastbins the checks performed can race with concurrent modifications of the arena. If we detect a problem re-do the test after getting the lock. | ||||
* | Use rel semantics of cas instead of acq semantics with full barrier before ↵ | Jakub Jelinek | 2009-07-16 | 1 | -2/+1 |
| | | | | | | | | | | | it in _int_free The following patch fixes catomic_compare_and_exchange_*_rel definitions (which were never used and weren't correct) and uses catomic_compare_and_exchange_val_rel in _int_free. Comparing to the pre-2009-07-02 --enable-experimental-malloc state the generated code should be identical on all arches other than ppc/ppc64 and on ppc/ppc64 should use lwsync instead of isync barrier. | ||||
* | Fix possible race when freeing object in fast bin list. | Ulrich Drepper | 2009-07-02 | 1 | -0/+1 |
| | |||||
* | Add some more tests to malloc to detect corruptions. | Ulrich Drepper | 2009-06-18 | 1 | -2/+27 |
| | |||||
* | * malloc/malloc.c (malloc_info): Output address space information. | Ulrich Drepper | 2009-04-18 | 1 | -3/+29 |
| | |||||
* | * malloc/malloc.c (malloc_info): Also output system memory information. | Ulrich Drepper | 2009-04-18 | 1 | -2/+17 |
| | |||||
* | [BZ #9957] | Ulrich Drepper | 2009-04-16 | 1 | -18/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #9957] * malloc/malloc.c (force_reg): Define. (sYSMALLOc): Load hook variable into variable before test and force into register. (sYSTRIm): Likewise. (public_mALLOc): Force hook value into register. (public_fREe): Likewise. (public_rEALLOc): Likewise. (public_mEMALIGn): Likewise. (public_vALLOc): Likewise. (public_pVALLOc): Likewise. (public_cALLOc): Likewise. (__posix_memalign): Likewise. * malloc/arena.c (ptmalloc_init): Load hook variable into variable before test and force into register. * malloc/hooks.c (top_check): Likewise. (public_s_ET_STATe): Pretty printing. * resolv/res_send.c (send_dg): Don't just ignore the result we got in case we only receive one reply in single-request mode. | ||||
* | * malloc/malloc.c (malloc_info): New function. cvs/fedora-glibc-20090409T1422 | Ulrich Drepper | 2009-04-09 | 1 | -0/+146 |
| | | | | | | | * malloc/malloc.h: Declare it. * malloc/Versions: Export malloc_info for GLIBC_2.10. * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp | ||||
* | * malloc/malloc.c (_int_realloc): Add parameter with old block | Ulrich Drepper | 2009-04-08 | 1 | -16/+17 |
| | | | | | | size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call. | ||||
* | * config.h.in (USE_MULTIARCH): Define. | Ulrich Drepper | 2009-03-13 | 1 | -33/+227 |
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Handle --enable-multi-arch. * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. (_dl_fixup_profile): Likewise. * elf/do-lookup.c (dl_lookup_x): Likewise. * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. * elf/elf.h (STT_GNU_IFUNC): Define. * include/libc-symbols.h (libc_ifunc): Define. * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the framework in init-arch.h to get CPUID values. * sysdeps/x86_64/multiarch/Makefile: New file. * sysdeps/x86_64/multiarch/init-arch.c: New file. * sysdeps/x86_64/multiarch/init-arch.h: New file. * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. * config.make.in (experimental-malloc): Define. * configure.in: Handle --enable-experimental-malloc. * malloc/Makefile: Handle experimental-malloc flag. * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. * malloc/arena.c: Likewise. * malloc/hooks.c: Likewise. * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. | ||||
* | (_int_realloc): Likewise. Third argument is now padded size | Ulrich Drepper | 2009-02-07 | 1 | -11/+7 |
| | |||||
* | * malloc/malloc.c (_int_free): Second argument is now mchunkptr. | Ulrich Drepper | 2009-02-07 | 1 | -48/+42 |
| | | | | | | | | | | Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions. | ||||
* | * malloc/malloc.c: Add branch prediction for use of the hooks. | Ulrich Drepper | 2009-02-07 | 1 | -11/+11 |
| |