This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/malloc malloc.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Dec 2007 22:52:58 -0000
- Subject: libc/malloc malloc.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-12-16 22:52:58
Modified files:
malloc : malloc.c
Log message:
(public_mTRIm): Iterate over all arenas and call 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.
(do_check_malloc_state): Minimal cleanups.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?cvsroot=glibc&r1=1.182&r2=1.183