summaryrefslogtreecommitdiff
path: root/malloc
AgeCommit message (Collapse)Author
2009-02-07(_int_realloc): Likewise. Third argument is now padded sizeUlrich Drepper
2009-02-07* malloc/malloc.c (_int_free): Second argument is now mchunkptr.Ulrich Drepper
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.
2009-02-07* malloc/malloc.c: Add branch prediction for use of the hooks.Ulrich Drepper
2009-02-06* debug/xtrace.sh: Unify translatable messages.Ulrich Drepper
* elf/ldd.bash.in: Likewise. * elf/sprof.c: Likewise. * locale/programs/locale.c: Likewise. * malloc/memusage.sh: Likewise. * nss/getent.c: Likewise. 2009-02-06 Joseph Myers <joseph@codesourcery.com> * debug/pcprofiledump.c (print_version, argp_program_version_hook): New function. * elf/ldconfig.c (more_help): New function. (argp): Use it. * elf/sln.c (usage): New function. (main): Support --help and --version. * malloc/memusagestat.c (print_version): New function. (argp_program_version_hook): New variable. * nscd/nscd.c (more_help): New function. (argp): Use it. * posix/getconf.c (main): Send --version output to stdout. Support --help. * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS arguments. All callers changed. (print_version): New function. (parseargs): Support --help and --version. * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers changed. (print_version): New function. (main): Use getopt_long. Support --help and --version. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and --version. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
2009-02-06* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.Ulrich Drepper
(update_data): Fix handling of wrapping back
2009-02-06* malloc/memusage.c (update_data): Fix handling of wrapping backUlrich Drepper
to the beginning of the buffer.
2009-02-04Updated to fedora-glibc-20090204T2135cvs/fedora-glibc-2_9_90-3Jakub Jelinek
2009-01-30* malloc/malloc.c (sYSMALLOc): Don't use assert when detectingUlrich Drepper
manipulated brk, use malloc_printerr. * misc/sbrk.c (__sbrk): Better error handling for nonsense requests.
2009-01-02Updated to fedora-glibc-20090102T2110cvs/fedora-glibc-2_9_90-1Jakub Jelinek
2009-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper
* nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
2008-11-12Updated to fedora-glibc-20081112T2008cvs/fedora-glibc-2_8_90-17Jakub Jelinek
2008-11-03* malloc/malloc.c (public_rEALLOc): When new arena is used, copyUlrich Drepper
really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
2008-10-20Updated to fedora-glibc-20081019T1815cvs/fedora-glibc-2_8_90-14Jakub Jelinek
2008-09-12(public_vALLOc): Try other arenas in case _int_valloc fails. ↵Ulrich Drepper
(public_pVALLOc): Likewise.
2008-07-28Updated to fedora-glibc-20080728T2320cvs/fedora-glibc-2_8_90-10Jakub Jelinek
2008-07-26* malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. DropUlrich Drepper
F_SETFD use if we know fopen set the flag.
2008-07-16Updated to fedora-glibc-20080716T0944cvs/fedora-glibc-2_8_90-9Jakub Jelinek
2008-07-15(__malloc_check_init): Remove printf.Ulrich Drepper
2008-04-08Updated to fedora-glibc-20080408T0706Jakub Jelinek
2008-04-07* malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.Jakub Jelinek
2008-04-07 Jakub Jelinek <jakub@redhat.com> * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.
2008-03-05Updated to fedora-glibc-20080305T0857cvs/fedora-glibc-2_7_90-8Jakub Jelinek
2008-03-04[BZ #5736]Ulrich Drepper
* malloc/malloc.c: Fix typo in comment.
2008-01-11Updated to fedora-glibc-20080111T0737Jakub Jelinek
2008-01-10* pthread-errnos.sym: Add EOVERFLOW.Ulrich Drepper
* sysdeps/unix/sysv/linux/structsem.sym: Add SEM_VALUE_MAX. * sysdeps/unix/sysv/linux/sem_post.c: Don't overflow value field. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
2008-01-09[BZ #5541]Ulrich Drepper
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and pollfd structures. Patch by André Cruz.
2008-01-09[BZ #5553]Ulrich Drepper
2008-01-09 Ulrich Drepper <drepper@redhat.com> [BZ #5553] * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. (public_mEMALIGn): Likewise. Patch mostly by Daniel Jacobowitz.
2008-01-03Updated to fedora-glibc-20080103T1958cvs/fedora-glibc-2_7_90-3Jakub Jelinek
2008-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper
* nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
2007-12-27Updated to fedora-glibc-20071227T0908cvs/fedora-glibc-2_7_90-2Jakub Jelinek
2007-12-17* malloc/malloc.c (public_cALLOc): For arena other thanUlrich Drepper
main_arena, count all bytes inside the mprotect_size range of the heap as uninitialized.
2007-12-16* malloc/tst-trim1.c: New file.Ulrich Drepper
* malloc/Makefile (tests): Add tst-trim1.
2007-12-16* malloc/malloc.c (public_mTRIm): Iterate over all arenas and callUlrich Drepper
mTRIm for all of them. (mTRIm): Additionally iterate over all free blocks and use madvise to free memory for all those blocks which contain at least one memory page. * malloc/malloc.c (do_check_malloc_state): Minimal cleanups.
2007-12-12Updated to fedora-glibc-20071212T1051Jakub Jelinek
2007-12-12* malloc/arena.c (grow_heap): Split out code to shrink heap into...Ulrich Drepper
(shrink_heap): ... this new function. (heap_trim): Call shrink_heap instead of grow_heap.
2007-12-11* malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in thisUlrich Drepper
case don't call alloc_perturb.
2007-10-28* malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.Ulrich Drepper
2007-10-03Updated to fedora-glibc-20071003T1908cvs/fedora-glibc-2_6_90-17Jakub Jelinek
2007-10-02[BZ #4941]Ulrich Drepper
* locales/oc_FR: Fix Thursday abday and August mon and abmon data.
2007-07-31Updated to fedora-glibc-20070731T1624cvs/fedora-glibc-2_6_90-1Jakub Jelinek
2007-07-19[BZ #4792]Ulrich Drepper
* stdlib/stdlib.h (realloc): Remove __attribute_malloc__. * malloc/malloc.h (realloc): Likewise. 2007-07-16 Jakub Jelinek <jakub@redhat.com>
2007-07-16* elf/ldconfig.c: Allow GPLv2 or any later version.Roland McGrath
* elf/readlib.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/cache.c: Likewise. * nscd/mem.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/aicache.c: Likewise. * nscd/getsrvbynm_r.c: Likewise. * nscd/nscd.c: Likewise. * nscd/servicescache.c: Likewise. * nscd/getsrvbypt_r.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/nscd_setup_thread.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/gai.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/cache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/pwdcache.c: Likewise. * catgets/gencat.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/locfile-kw.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/xstrdup.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/charmap-kw.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locfile-token.h: Likewise. * posix/getconf.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * malloc/memusagestat.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
2007-05-21Backported selected fixes from 2007-05-{17,18,21}.cvs/fedora-glibc-2_6-2Jakub Jelinek
2007-05-21* malloc/hooks.c (MALLOC_STATE_VERSION): Bump.Ulrich Drepper
(public_sET_STATe): If ms->version < 3, put all chunks into unsorted chunks and clear {fd,bk}_nextsize fields of largebin chunks. * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. * malloc/hooks.c: Likewise. * malloc/arena.c: Likewise. * malloc/malloc.c (do_check_malloc_state): Don't assert n_mmaps is not greater than n_mmaps_max. This removes the need for the previous change. * malloc/Makefile (CFLAGS-malloc.c): Revert accidental 2007-05-07 commit.
2007-05-19* malloc/malloc.c (do_check_chunk): Correct check for mmaped blockUlrich Drepper
not overlapping with arena.
2007-05-19* malloc/mcheck.c (reallochook): If size==0, free the block.Ulrich Drepper
2007-05-15Updated to fedora-glibc-20070515T2025Roland McGrath
2007-05-15* malloc/malloc.c: Use all small bin slots on 64-bit archs.Ulrich Drepper
* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
2007-05-14* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.Ulrich Drepper
2007-05-13 Ulrich Drepper <drepper@redhat.com>
2007-05-13[MALLOC_DEBUG]: Keep track of current maximum number of mmaps. n_mmaps_max ↵Ulrich Drepper
is the target.
2007-05-10Updated to fedora-glibc-20070510T0634cvs/fedora-glibc-2_5_90-23Jakub Jelinek