1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/lib
Jason Evans b97aec1d61 If no coalesced exact-fit small regions are available, but delayed exact-
fit regions are available, use the delayed regions in LIFO order, in order
to increase locality of reference.  We might expect this to cause delayed
regions to be removed from the delay ring buffer more often (since we're
now re-using more recently buffered regions), but numerous tests indicate
that the overall impact on memory usage tends to be good (reduced
fragmentation).

Re-work arena_frag_reg_alloc() so that when large free regions are
exhausted, it uses small regions in a way that favors contiguous allocation
of sequentially allocated small regions.  Use arena_frag_reg_alloc() in
this capacity, rather than directly attempting over-fitting of small
requests when no large regions are available.

Remove the bin overfit statistic, since it is no longer relevant due to
the arena_frag_reg_alloc() changes.

Do not specify arena_frag_reg_alloc() as an inline function.  It is too
large to benefit much from being inlined, and it is also called in two
places, only one of which is in the critical path (the other call bloated
arena_reg_alloc()).

Call arena_coalesce() for a region before caching it with
arena_mru_cache().

Add assertions that detect the attempted caching of adjacent free regions,
so that we notice this problem when it is first created, rather than in
arena_coalesce(), when it's too late to know how the problem arose.

Reported by:    Hans Blancke
2006-01-25 04:21:22 +00:00
..
bind Updated versions of header files generated per the instructions 2005-12-29 04:29:03 +00:00
csu Fixed profiling of main() for amd64 and i386. This started rotting 2005-10-07 22:13:17 +00:00
libalias
libarchive Disable "tp" support until I figure out why it's breaking the build. <sigh> 2006-01-18 06:26:42 +00:00
libatm
libautofs
libbegemot
libbluetooth
libbsnmp Catch up with the import of bsnmp-1.11. Add a couple of new 2005-10-04 15:02:07 +00:00
libbz2
libc If no coalesced exact-fit small regions are available, but delayed exact- 2006-01-25 04:21:22 +00:00
libc_r - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution. 2005-08-19 21:31:42 +00:00
libcalendar
libcam
libcom_err
libcompat
libcrypt
libdevinfo Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++ 2005-08-31 14:57:39 +00:00
libdevstat Remove an unused variable. 2005-10-04 22:00:35 +00:00
libdisk Build shared library on behalf of bsnmpd. 2006-01-12 07:26:57 +00:00
libedit Merge NetBSD's revision 1.27. This bug can be observed eg. when browsing 2005-12-04 09:34:56 +00:00
libexpat
libfetch In order to maintain interoperability with certain broken FTP servers, 2006-01-19 08:31:47 +00:00
libform Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libftpio
libgeom Fix prototype. 2005-11-24 10:43:35 +00:00
libgpib
libgssapi Use the correct shared-library version number (the same as the one used 2006-01-01 11:01:01 +00:00
libio
libipsec
libipx
libkiconv - Fix checking range of strings of struct iconv_add_in in libsmb and libkiconv, 2005-08-24 12:38:26 +00:00
libkse Increase the number of spinlocks, since libc's malloc implementation is 2006-01-13 06:14:04 +00:00
libkvm Validate that the supplied file is not empty before trying mmap(2) it 2006-01-15 20:30:13 +00:00
libmagic Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libmd Fix an 11 year old mistake: Let the hash functions take a void* instead 2006-01-17 15:35:57 +00:00
libmemstat Remove unnecessary and undesirable 'static' from function-local keg 2006-01-16 00:37:20 +00:00
libmenu Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libmilter
libmp Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libncp Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libncurses
libnetgraph In the splnet(9) times netgraph(4) was synchronous and if a message 2006-01-12 19:14:40 +00:00
libngatm
libopie
libpam Commenting out WARNS actually brought it up to 4. 2005-09-28 14:36:16 +00:00
libpanel Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libpcap
libpmc Fix prototypes. 2005-11-24 10:54:47 +00:00
libpthread Increase the number of spinlocks, since libc's malloc implementation is 2006-01-13 06:14:04 +00:00
libradius Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
librpcsvc
libsbuf
libsdp
libsm
libsmb Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libsmdb
libsmutil
libstand Fix prototypes. 2005-11-24 11:14:06 +00:00
libtacplus
libtelnet
libthr Add missing symbol pthread_set_name_np. 2006-01-23 06:11:23 +00:00
libthread_db
libufs minor style.Makefile(5) fixes: 2005-09-26 06:23:43 +00:00
libugidfw
libusbhid Fix prototypes. 2005-11-24 11:26:36 +00:00
libutil Restore use of strncpy(), as there is later unconditional termination 2006-01-16 11:54:07 +00:00
libvgl
libwrap
liby
libypclnt
libz
msun Oops, on amd64 (and probably on all non-i386 systems), the previous 2006-01-05 09:18:48 +00:00
ncurses Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
Makefile Add a new extensible GSS-API layer which can support GSS-API plugins, 2005-12-29 14:40:22 +00:00
Makefile.inc