freebsd-dev/sys
John Baldwin 7e1f6dfe9d Modify the critical section API as follows:
- The MD functions critical_enter/exit are renamed to start with a cpu_
  prefix.
- MI wrapper functions critical_enter/exit maintain a per-thread nesting
  count and a per-thread critical section saved state set when entering
  a critical section while at nesting level 0 and restored when exiting
  to nesting level 0.  This moves the saved state out of spin mutexes so
  that interlocking spin mutexes works properly.
- Most low-level MD code that used critical_enter/exit now use
  cpu_critical_enter/exit.  MI code such as device drivers and spin
  mutexes use the MI wrappers.  Note that since the MI wrappers store
  the state in the current thread, they do not have any return values or
  arguments.
- mtx_intr_enable() is replaced with a constant CRITICAL_FORK which is
  assigned to curthread->td_savecrit during fork_exit().

Tested on:	i386, alpha
2001-12-18 00:27:18 +00:00
..
alpha Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
amd64 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
arm We need machine/{signal,ucontext}.h to build a cross GCC compiler. 2001-12-09 19:39:49 +00:00
boot mdoc(7) police: remove hard sentence break which I didn't 2001-12-14 09:06:11 +00:00
cam o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
coda Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
compat Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
conf MFi386: options.i386 revision 1.162 2001-12-16 09:04:08 +00:00
contrib Fix initialisation of struct nat entry, to solve a panic that occurs 2001-12-05 10:46:24 +00:00
crypto fixed the cast128 calculation with a short cipher key length. 2001-11-27 14:11:47 +00:00
ddb Implement a "kill" DDB command which is an interface to psignal() that 2001-11-27 19:56:28 +00:00
dev Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
fs Add module dependency on libmchain. 2001-12-13 13:08:34 +00:00
geom Return EOPNOTSUPP for unknown module events. 2001-11-17 00:46:08 +00:00
gnu Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
i4b Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
i386 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
ia64 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
isa Remove PC98 code. This file is not used by PC98. 2001-12-16 05:37:22 +00:00
isofs/cd9660 Fix mounting root from a ISO9660 filesystem on a SCSI CDROM. 2001-11-27 03:55:43 +00:00
kern Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
libkern rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
modules Add modules of scsi_low based SCSI drivers ncv, nsp, stg, and common 2001-12-15 12:44:38 +00:00
net Initalize ifq_maxlen to prevent a harmless warning message. 2001-12-17 07:49:34 +00:00
netatalk Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netatm Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netgraph Typo. 2001-12-15 20:53:15 +00:00
netinet o Add IPOPT_ESO for the 'Extended Security' IP option (RFC1108) 2001-12-14 19:37:32 +00:00
netinet6 Back out cometic changes. This is for easily syncing with KAME in other BSDs. 2001-12-17 18:13:12 +00:00
netipx Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netkey Newer SA is prefered for a out-bound packet than old one 2001-12-05 05:40:49 +00:00
netnatm Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netncp Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
netns Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netsmb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
nfs Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsclient This fixes a large number of bugs in our NFS client side code. A recent 2001-12-14 01:16:57 +00:00
nfsserver When VOP_SYMLINK fails, the value of *vpp is junk, so we must NULL 2001-12-04 16:53:42 +00:00
pc98 Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively. 2001-12-16 09:00:03 +00:00
pccard Better error message when cardtype is not recognized 2001-11-13 06:46:19 +00:00
pci Fix a problem where stats overflow interrupts would cause 2001-12-17 22:24:19 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
rpc
security/lomac Split out NAI Labs license and BSD license to prevent the accidental 2001-12-03 00:21:18 +00:00
sparc64 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
svr4
sys Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
tools Move from using PCCARD_ symbols gereated from this file to using PCMCIA_ 2001-11-11 20:15:06 +00:00
ufs Make sure we ignore the value of `fs_active' when reloading the 2001-12-16 18:54:09 +00:00
vm This fixes a large number of bugs in our NFS client side code. A recent 2001-12-14 01:16:57 +00:00
Makefile