Date: Thu, 26 Jan 2006 08:11:23 +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: <200601260811.k0Q8BOIS040077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2006-01-26 08:11:23 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib malloc.c
Log:
Optimize arena_bin_pop() to reduce the number of separator operations.
Remove the block of code that tries to use delayed regions in LIFO order,
since from a policy perspective, it conflicts with LRU caching of newly
coalesced regions in arena_undelay(). There are numerous policy
alternatives, and it isn't readily obvious which (if any) is superior;
this change at least has the virtue of being consistent with policy.
Revision Changes Path
1.106 +10 -13 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601260811.k0Q8BOIS040077>
