freebsd-nq/sys
Jeff Roberson d7f687fc9b Add cpuset, an api for thread to cpu binding and cpu resource grouping
and assignment.
 - Add a reference to a struct cpuset in each thread that is inherited from
   the thread that created it.
 - Release the reference when the thread is destroyed.
 - Add prototypes for syscalls and macros for manipulating cpusets in
   sys/cpuset.h
 - Add syscalls to create, get, and set new numbered cpusets:
   cpuset(), cpuset_{get,set}id()
 - Add syscalls for getting and setting affinity masks for cpusets or
   individual threads: cpuid_{get,set}affinity()
 - Add types for the 'level' and 'which' parameters for the cpuset.  This
   will permit expansion of the api to cover cpu masks for other objects
   identifiable with an id_t integer.  For example, IRQs and Jails may be
   coming soon.
 - The root set 0 contains all valid cpus.  All thread initially belong to
   cpuset 1.  This permits migrating all threads off of certain cpus to
   reserve them for special applications.

Sponsored by:	Nokia
Discussed with:	arch, rwatson, brooks, davidxu, deischen
Reviewed by:	antoine
2008-03-02 07:39:22 +00:00
..
amd64 Eliminate whitespace diffs to the i386 version. 2008-02-19 06:30:49 +00:00
arm Remove errant % in license comment. 2008-02-26 11:45:32 +00:00
boot MFi386: revision 1.43 2008-02-29 05:06:06 +00:00
bsm
cam When probing a newly found device, don't automatically assume that the 2008-02-27 08:47:13 +00:00
cddl Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is 2008-02-25 18:45:57 +00:00
compat Sanitize arguments to linux_mremap(). 2008-02-22 11:47:56 +00:00
conf Add cpuset, an api for thread to cpu binding and cpu resource grouping 2008-03-02 07:39:22 +00:00
contrib Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is 2008-02-25 18:45:57 +00:00
crypto
ddb Use dump_write() instead of direct calls to di->dumper() in textdumps. 2008-01-31 16:22:14 +00:00
dev - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
fs - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
gdb Add support for kgdb's 'detach' command. 2008-02-29 01:57:20 +00:00
geom Add support for VTOC8 labels (aka sun disk labels). When a label does 2008-03-02 00:52:49 +00:00
gnu Introduce some functions in the vnode locks namespace and in the ffs 2008-02-24 16:38:58 +00:00
i4b
i386 In est_acpi_info(), initialize count before passing its pointer to 2008-03-01 21:58:34 +00:00
ia64 Re-sort options. While here: 2008-02-16 18:30:58 +00:00
isa
kern Add cpuset, an api for thread to cpu binding and cpu resource grouping 2008-03-02 07:39:22 +00:00
libkern Add prototype for __cmpd2(). 2008-02-23 22:40:05 +00:00
modules Remove makefiles for geom_apple and geom_gpt. These are non-existent 2008-03-02 05:59:25 +00:00
net Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on the 2008-02-13 16:57:58 +00:00
net80211 Fix adhoc mode to scan all available channels for a bss to join 2008-02-29 04:07:07 +00:00
netatalk
netatm
netgraph Add support for the libalias redirect functionality. 2008-03-01 17:14:02 +00:00
netinet Fix indentation (whitespace changes only). 2008-03-01 22:27:15 +00:00
netinet6 Rather than passing around a cached 'priv', pass in an ucred to 2008-02-02 14:11:31 +00:00
netipsec Rather than passing around a cached 'priv', pass in an ucred to 2008-02-02 14:11:31 +00:00
netipx
netnatm
netncp - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
netsmb - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
nfs
nfs4client - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
nfsclient Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is 2008-02-25 18:45:57 +00:00
nfsserver Use nfsrv_destroycache() only once, else it crashes the server. 2008-01-18 17:03:36 +00:00
opencrypto
pc98 Merged from sys/dev/sio/sio.c revision 1.472 2008-02-29 05:09:15 +00:00
pccard
pci Give MEXTADD() another argument to make both void pointers to the 2008-02-01 19:36:27 +00:00
powerpc Avoid hardcoding the kernel link address in the linker script. 2008-02-27 00:03:23 +00:00
rpc
security Add audit_prefixes to two more globally visible functions in the Audit 2008-03-01 11:40:49 +00:00
sparc64 The Sun disk label only uses 16-bit fields for cylinders, heads and 2008-02-11 21:40:22 +00:00
sun4v Add a wrapper function that bound checks writes to the dump device. 2008-01-28 19:04:07 +00:00
sys Add cpuset, an api for thread to cpu binding and cpu resource grouping 2008-03-02 07:39:22 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs Minor typo nit. 2008-02-25 19:31:44 +00:00
vm Make the vm_pmap field of struct vmspace the last field in the 2008-03-01 22:54:42 +00:00
Makefile o Add boot, gdb, nfsserver and opencrypto dirs to CSCOPEDIRS; sort. 2008-01-23 08:50:34 +00:00