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: 27 Aug 2006 04:37:30 -0000
- Subject: libc/malloc malloc.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2006-08-27 04:37:30
Modified files:
malloc : malloc.c
Log message:
(bin_at): Rewrite to be more clear and to not waste bins[0..1].
(malloc_state): Reduce bins size by 2.
(_int_malloc): Fix test for large enough buffer for early termination.
When no unsorted block matches perfectly and an exiting block has to be split,
use full list insert and not shortcut which assumes the list is empty.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?cvsroot=glibc&r1=1.164&r2=1.165