cvs commit: src/lib/libc/stdlib malloc.c
Jason Evans
jasone at FreeBSD.org
Thu Jan 26 00:11:24 PST 2006
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
More information about the cvs-src
mailing list