freebsd-nq/sys
John Baldwin e7573e7ad7 Allow threads to atomically release rw and sx locks while waiting for an
event.  Locking primitives that support this (mtx, rw, and sx) now each
include their own foo_sleep() routine.
- Rename msleep() to _sleep() and change it's 'struct mtx' object to a
  'struct lock_object' pointer.  _sleep() uses the recently added
  lc_unlock() and lc_lock() function pointers for the lock class of the
  specified lock to release the lock while the thread is suspended.
- Add wrappers around _sleep() for mutexes (mtx_sleep()), rw locks
  (rw_sleep()), and sx locks (sx_sleep()).  msleep() still exists and
  is now identical to mtx_sleep(), but it is deprecated.
- Rename SLEEPQ_MSLEEP to SLEEPQ_SLEEP.
- Rewrite much of sleep.9 to not be msleep(9) centric.
- Flesh out the 'RETURN VALUES' section in sleep.9 and add an 'ERRORS'
  section.
- Add __nonnull(1) to _sleep() and msleep_spin() so that the compiler will
  warn if you try to pass a NULL wait channel.  The functions already have
  a KASSERT to that effect.
2007-03-09 22:41:01 +00:00
..
amd64 Defer calling lapic_init() until we've completed the 'MPTable: <...>' 2007-03-09 15:49:57 +00:00
arm Wrap ixppcib_setup_intr() at 80. 2007-03-06 10:58:22 +00:00
boot MFi386: revision 1.17. 2007-03-04 04:53:17 +00:00
bsm Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events 2006-09-25 12:22:07 +00:00
cam Use tsleep() rather than msleep() with a NULL mtx. 2007-02-27 17:15:39 +00:00
coda coda_vptofh is never defined nor used. 2007-02-02 15:47:28 +00:00
compat In translate_path_major_minor(), do not calculate otherwise unused 'fp' 2007-03-06 07:39:12 +00:00
conf Rototill the sparc64 nexus(4) (actually this brings in the code the 2007-03-07 21:13:51 +00:00
contrib - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a 2007-03-02 11:42:56 +00:00
crypto Initialize T1 to silent gcc warning. 2006-10-22 02:19:33 +00:00
ddb Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
dev Add support for the Silicon Image SiI 3124 and SiI 3132. 2007-03-09 22:23:39 +00:00
fs Change fifo_printinfo to check if the vnode v_fifoinfo pointer 2007-03-02 00:10:11 +00:00
gdb
geom Warn when user use sectorsize bigger than the page size, which will lead 2007-03-05 12:41:44 +00:00
gnu Rename PRIV_VFS_CLEARSUGID to PRIV_VFS_RETAINSUGID, which seems to better 2007-03-01 20:47:42 +00:00
i4b o break newbus api: add a new argument of type driver_filter_t to 2007-02-24 02:28:07 +00:00
i386 Defer calling lapic_init() until we've completed the 'MPTable: <...>' 2007-03-09 15:49:57 +00:00
ia64 Over NFS, an open() call could result in multiple over-the-wire 2007-03-09 04:02:38 +00:00
isa Partial fix for a bug in rev.1.231. If suspend/resume clobbers the 2007-03-05 09:10:17 +00:00
kern Allow threads to atomically release rw and sx locks while waiting for an 2007-03-09 22:41:01 +00:00
libkern
modules - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a 2007-03-02 11:42:56 +00:00
net Change the passing of callbacks to a struct in case this needs to be extended in the future. 2007-03-09 19:34:55 +00:00
net80211 When dispatching frames saved on the power save queue to a 2007-03-07 04:42:22 +00:00
netatalk Use privilege PRIV_NET_ADDIFADDR rather than suser() to authorize 2007-02-19 22:40:02 +00:00
netatm Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netgraph ng_apply_item should be void. It is called from the interrupt source or 2007-03-09 21:04:50 +00:00
netinet Fix IP_SENDSRCADDR semantics. 2007-03-08 15:26:54 +00:00
netinet6 Add comments about common idioms for cleanup pass at a later date. 2007-02-28 21:58:37 +00:00
netipsec s,#if INET6,#ifdef INET6, 2006-12-14 17:33:46 +00:00
netipx Build ipx_ip.c only if options IPXIP is defined. No functional change. 2007-02-26 11:55:34 +00:00
netkey
netnatm Factor out my copyrights + licenses from Charles D. Cranor and 2007-01-08 22:30:39 +00:00
netncp Use pause() rather than tsleep() on stack variables and function pointers. 2007-02-27 17:23:29 +00:00
netsmb Backing out the wrong fix which could possibly trash the memory if devfs 2007-02-09 17:22:10 +00:00
nfs NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4client Rename some functions and variables from nfs_* to nfs4_* to avoid 2007-01-25 14:33:13 +00:00
nfsclient Back out a chance to nfs_timer() that inadvertantly crept in the last checkin :( 2007-03-09 04:07:54 +00:00
nfsserver Change these descriptions of memory types used in malloc(9), as their 2007-03-05 00:21:40 +00:00
opencrypto
pc98 - Use mtx_{lock,unlock}_spin rather than {disable,enable}_intr. 2007-03-04 11:36:16 +00:00
pccard
pci Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
powerpc Over NFS, an open() call could result in multiple over-the-wire 2007-03-09 04:02:38 +00:00
rpc
security Remove 'MPSAFE' annotations from the comments above most system calls: all 2007-03-04 22:36:48 +00:00
sparc64 Over NFS, an open() call could result in multiple over-the-wire 2007-03-09 04:02:38 +00:00
sun4v o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
sys Allow threads to atomically release rw and sx locks while waiting for an 2007-03-09 22:41:01 +00:00
tools - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a 2007-03-02 11:42:56 +00:00
ufs Move macros describing extended attributes in UFS from 2007-03-06 08:13:21 +00:00
vm Use PCPU_LAZY_INC() to update page fault statistics. 2007-03-05 18:55:14 +00:00
Makefile o Add cam to a list of cscope dirs. 2006-11-26 18:27:16 +00:00