aboutsummaryrefslogtreecommitdiff
path: root/malloc
AgeCommit message (Collapse)AuthorFilesLines
2010-12-13Merge commit 'glibc-2.12.2' into fedora/2.12/masterAndreas Schwab2-3/+23
2010-12-01Fix perturbing in malloc on free.Ulrich Drepper1-2/+2
(cherry picked from commit fdc0f374bcd2d0513569aa8d600f960e43e8af1d)
2010-12-01Handle large requests.Ulrich Drepper1-1/+21
(cherry picked from commit 3b11189345d0080527a76e3bf867da395a1b0261)
2010-06-01Merge remote branch 'origin/release/2.12/master' into fedora/2.12/masterAndreas Schwab1-6/+9
2010-05-06Fix race in free sanity check.Ulrich Drepper1-6/+9
2010-04-14Remove unintended change.Ulrich Drepper1-4/+0
2010-04-14Optimie x86-64 SSE4 memcmp for unaligned data.H.J. Lu1-0/+4
2010-04-12Merge remote branch 'origin/master' into fedora/masterAndreas Schwab1-0/+1
2010-04-08Fix possibly uninitilized variable handling.Ulrich Drepper1-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.
2010-04-06Merge remote branch 'origin/master' into fedora/masterAndreas Schwab3-11/+24
2010-04-03One more sanity check in free.Ulrich Drepper1-1/+14
2010-04-03Fix set_max_fast in malloc.Ulrich Drepper1-1/+2
2010-03-26Remove stale reference to websiteUlrich Drepper1-2/+1
2010-03-26Remove unwanted malloc changes, again.Ulrich Drepper2-20/+1
2010-03-25Merge branch 'master' of ssh://sources.redhat.com/git/glibcUlrich Drepper2-1/+20
Conflicts: ChangeLog
2010-03-15Update copyright year.Ulrich Drepper2-7/+7
2010-03-09Merge remote branch 'origin/master' into fedora/masterAndreas Schwab1-7/+9
2010-02-24Fix typos I added in malloc.cUlrich Drepper1-2/+2
2010-02-24Fix assertion in palloc and pvalloc as well.Petr Baudis1-7/+9
2010-02-10Undo unintended maloc change.Ulrich Drepper1-15/+2
2010-02-09Avoid PLT call to fegetenv on s390Andreas Schwab1-2/+15
2010-01-15Merge remote branch 'origin/master' into fedora/masterAndreas Schwab1-17/+24
2010-01-14Fix malloc_info without prioor allocations.Ulrich Drepper1-17/+24
2009-11-12Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2-18/+21
2009-11-06Fix spelling in memusagestat.cHolger Hans Peter Freyther1-1/+1
2009-11-01Restore locking in free_check.Ulrich Drepper1-17/+20
This code is only used when MALLOC_CHECK_ is used. Then some bogus crashes and/or assert could result from the locking changes. The code ain't fast.
2009-10-30Merge remote branch 'origin/master' into fedora/masterAndreas Schwab3-19/+26
2009-10-29Fix typos in format strings of malloc_info.John Sullivan1-2/+2
2009-10-29Fix repairing of memusage trace files.Ulrich Drepper1-13/+19
2009-10-29Fix wrap-around in memusage.Andreas Schwab1-4/+5
2009-09-01Merge commit 'origin/master' into fedora/masterAndreas Schwab1-439/+461
2009-08-31Add local assert function to avoid problems with memory allocation inUlrich Drepper1-439/+461
the real one.
2009-08-03Merge commit 'origin/master' into fedora/masterAndreas Schwab1-0/+1
2009-07-31Fix obstack* on i?86Jakub Jelinek1-0/+1
obstack calls several callbacks, so on i?86 it'd better be compiled without -mpreferred-stack-boundary=2, otherwise the callbacks are called with misaligned stack.
2009-07-20Merge commit 'origin/master' into fedora/masterAndreas Schwab1-3/+24
2009-07-16Fix race in corruption check.Ulrich Drepper1-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.
2009-07-16Use rel semantics of cas instead of acq semantics with full barrier before ↵Jakub Jelinek1-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.
2009-07-02Fix possible race when freeing object in fast bin list.Ulrich Drepper1-0/+1
2009-06-26Merge commit 'origin/master' into fedora/masterAndreas Schwab2-3/+28
2009-06-18Add some more tests to malloc to detect corruptions.Ulrich Drepper1-2/+27
2009-06-16Don't treat bug reporting message as a format string.Andreas Schwab1-1/+1
2009-04-24Updated to fedora-glibc-20090424T0747cvs/fedora-glibc-2_9_90-20Jakub Jelinek3-29/+85
2009-04-18* malloc/malloc.c (malloc_info): Output address space information.Ulrich Drepper1-3/+29
2009-04-18* malloc/malloc.c (malloc_info): Also output system memory information.Ulrich Drepper1-2/+17
2009-04-17(top_check): Force hook value into register.Ulrich Drepper1-1/+1
2009-04-16[BZ #9957]Ulrich Drepper3-26/+41
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.
2009-04-09Updated to fedora-glibc-20090409T1422cvs/fedora-glibc-2_9_90-15Jakub Jelinek4-19/+193
2009-04-09* malloc/malloc.c (malloc_info): New function.cvs/fedora-glibc-20090409T1422Ulrich Drepper3-0/+153
* malloc/malloc.h: Declare it. * malloc/Versions: Export malloc_info for GLIBC_2.10. * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
2009-04-08* malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper2-19/+40
size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
2009-03-20Updated to fedora-glibc-20090320T1944cvs/fedora-glibc-2_9_90-11Jakub Jelinek5-56/+431