Date: Mon, 20 Mar 2006 04:05:05 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200603200405.k2K455Vo060250@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2006-03-20 04:05:05 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib malloc.c
Log:
Separate completely full runs from runs that are merely almost full, so
that no linear searching is necessary if we resort to allocating from a
run that is known to be mostly full. There are pathological edge cases
that could have caused severely degraded performance, and this change
fixes that.
Revision Changes Path
1.114 +72 -62 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603200405.k2K455Vo060250>
