freebsd-nq/lib
Jason Evans 5355c74026 Use some math tricks in arena_run_reg_dalloc() to avoid actual division, as
well as avoiding a switch statement.  This change has no significant impact
to performance when branch prediction is successful at predicting the sizes
of objects passed to free(), but in the case that the object sizes are
semi-random, this change has the potential to prevent many branch prediction
misses, thus improving performance substantially.

Take advantage of alignment guarantees in ipalloc(), and pad object sizes to
something less than a power of two when possible.  This has the potential
to substantially reduce internal fragmentation for objects allocated via
posix_memalign().

Avoid an unnecessary pow2_ceil() call in arena_ralloc().

Submitted by:	djam8193ah@hotmail.com
2006-07-01 16:51:10 +00:00
..
bind Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
csu GC these crt{begin,end}.c, which are unused since the last FreeBSD platform 2006-05-22 19:30:02 +00:00
libalias
libarchive Simplify some of the wide-character handling, inspired 2006-05-01 01:02:19 +00:00
libatm Bump library majro version for gethostbyaddr(3). 2006-05-21 15:15:21 +00:00
libautofs Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
libbegemot
libbluetooth
libbsm Add audit_submit.3 to the set of man pages built and installed with 2006-06-05 12:53:44 +00:00
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 Use some math tricks in arena_run_reg_dalloc() to avoid actual division, as 2006-07-01 16:51:10 +00:00
libc_r Fix a symlink. 2006-04-12 19:51:14 +00:00
libcalendar
libcam Go with a different version of the previous patch so to preserve errno. 2006-04-30 07:08:43 +00:00
libcom_err
libcompat
libcrypt Provide alternate default for SHLIBDIR before bsd.own.mk does this. 2006-03-18 11:01:06 +00:00
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 o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions. 2006-04-25 20:42:15 +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 Respect FETCH_BIND_ADDRESS when opening the data connection. 2006-06-13 10:21:03 +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 Apply style.Makefile(5) here. 2006-04-13 08:12:31 +00:00
libgssapi The function isspace does not take a string argument. I have no idea how 2006-02-04 09:40:21 +00:00
libio NO_MAN is not needed here. 2006-03-16 15:18:17 +00:00
libipsec Provide alternate default for SHLIBDIR before bsd.own.mk does this. 2006-03-18 11:01:06 +00:00
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 o Remove a cruft prevented libpthread sigaction(2) wrapper to 2006-06-09 14:23:40 +00:00
libkvm Include strings.h for bzero() 2006-06-05 08:51:14 +00:00
libmagic Update for the 'file' 4.17 import. 2006-06-19 08:10:23 +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 Update copyright for 2006. 2006-02-11 19:21:39 +00:00
libmenu Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libmilter Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
libmp Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libncp NO_MAN is not needed here. 2006-03-16 15:18:17 +00:00
libncurses Convert NO_PROFILE and NO_LIB32 to new style. 2006-03-18 21:37:05 +00:00
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 Add a manual dependency on ssh_namespace.h. 2006-05-13 21:38:16 +00:00
libpanel Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libpcap Place shared libpcap library under /lib, currently needed by 2006-04-13 07:25:02 +00:00
libpmc MFP4: Support for profiling dynamically loaded objects. 2006-03-26 12:20:54 +00:00
libpthread o Remove a cruft prevented libpthread sigaction(2) wrapper to 2006-06-09 14:23:40 +00:00
libradius Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
librpcsvc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
librt Account for recent changes in namespace.h. Use _pthread_create 2006-03-29 04:20:53 +00:00
libsbuf
libsdp Fix an unwanted gcc4 warning. 2006-06-06 16:58:19 +00:00
libsm Add new libsm file from sendmail 8.13.6 2006-03-22 16:58:15 +00:00
libsmb NO_MAN is not needed here. 2006-03-16 15:18:17 +00:00
libsmdb
libsmutil
libstand Implement printf 'X' conversion for both libstand and kernel. 2006-03-09 22:37:34 +00:00
libtacplus
libtelnet Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
libthr Remove unused member. 2006-06-03 00:19:40 +00:00
libthread_db Fix return value. 2006-05-17 05:14:45 +00:00
libufs minor style.Makefile(5) fixes: 2005-09-26 06:23:43 +00:00
libugidfw Add some new options to mac_bsdestended. We can now match on: 2006-04-23 17:06:18 +00:00
libusbhid Fix prototypes. 2005-11-24 11:26:36 +00:00
libutil Remove some unused variables 2006-06-23 01:42:03 +00:00
libvgl
libwrap Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
liby
libypclnt
libz Resolve conflicts. 2006-03-23 14:09:21 +00:00
msun Add symbol versioning to libm. 2006-03-27 23:59:45 +00:00
ncurses Convert NO_PROFILE and NO_LIB32 to new style. 2006-03-18 21:37:05 +00:00
Makefile Extend coverage of the MK_IPX build option to the following: 2006-03-20 14:24:58 +00:00
Makefile.inc