freebsd-skq/lib/libc
jasone 4db288d2b3 Implement dynamic load balancing of thread-->arena mapping, based on lock
contention.  The intent is to dynamically adjust to load imbalances, which
can cause severe contention.

Use pthread mutexes where possible instead of libc "spinlocks" (they aren't
actually spin locks).  Conceptually, this change is meant only to support
the dynamic load balancing code by enabling the use of spin locks, but it
has the added apparent benefit of substantially improving performance due to
reduced context switches when there is moderate arena lock contention.

Proper tuning parameter configuration for this change is a finicky business,
and it is very much machine-dependent.  One seemingly promising solution
would be to run a tuning program during operating system installation that
computes appropriate settings for load balancing.  (The pthreads adaptive
spin locks should probably be similarly tuned.)
2007-11-27 03:17:30 +00:00
..
amd64 Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudo 2007-07-04 23:23:01 +00:00
arm Unbreak arm build by removing duplicate symbols. 2007-10-18 21:44:21 +00:00
compat-43 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
db The usage of "info" in init_hash() is read-only, so constify 2007-05-25 09:57:48 +00:00
gdtoa Use an intermediate pointer to avoid a strict aliasing warning. 2007-11-21 01:10:42 +00:00
gen Change the casts from (pthread_mutex_t *) to (void *) to keep gcc quiet. 2007-11-19 21:57:28 +00:00
gmon Remove .mcount from gmon's Symbol map and add it to the appropriate 2007-05-13 14:16:55 +00:00
i386 Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudo 2007-07-04 23:23:01 +00:00
ia64 The fork symbols aren't MD, they already live in sys/. 2007-10-18 11:28:38 +00:00
include Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate to 2007-07-04 23:27:38 +00:00
inet Require users to provide a length information for inet_ntoa_r, 2007-06-14 07:13:28 +00:00
isc Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
locale - Include runetype.h for _RuneLocale_ 2007-11-07 14:45:48 +00:00
nameser Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
net Fix bad rule and bad dependency for nsparser.h that can 2007-11-15 22:39:15 +00:00
nls Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
posix1e Some libc symbol map cleanups. 2007-05-31 13:01:34 +00:00
powerpc Fix build from errors exposed with recent version_gen.awk commit. 2007-10-18 07:23:31 +00:00
quad Fix a typo that prevented the quad symbols from being exported 2007-07-06 13:42:24 +00:00
regex Diff reduction against other *BSDs: ANSIfy function 2007-06-11 03:05:54 +00:00
resolv Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
rpc Use intermediate pointers to avoid strict alias type check failures 2007-11-20 01:51:20 +00:00
softfloat Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
sparc64 Use an intermediate pointer to avoid a strict aliasing warning. 2007-11-23 05:52:13 +00:00
stdio Add rewind() to the list of functions which may fail and set errno 2007-06-18 02:13:04 +00:00
stdlib Implement dynamic load balancing of thread-->arena mapping, based on lock 2007-11-27 03:17:30 +00:00
stdtime Some libc symbol map cleanups. 2007-05-31 13:01:34 +00:00
string Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
sys Remove extraneous empty lines, to fix mdoc warnings. 2007-10-30 15:36:40 +00:00
uuid Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
xdr Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
yp Set timeout for all NIS RPC requests to 1 second and not just for 2007-07-24 13:06:08 +00:00
Makefile Fixed "make checkdpadd" (missing library dependencies). 2007-10-01 18:15:11 +00:00
Versions.def Make sure FBSDprivate_1.0 is located at the end of the version 2007-04-29 16:14:17 +00:00