freebsd-nq/sys
Matthew Dillon f94f8efc61 Optimize two cases in the MP locking code. First, it is not necessary
to use a locked cmpexg when unlocking a lock that we already hold, since
      nobody else can touch the lock while we hold it.  Second, it is not
      necessary to use a locked cmpexg when locking a lock that we already
      hold, for the same reason.  These changes will allow MP locks to be used
      recursively without impacting performance.

      Modify two procedures that are called only by assembly and are already
      NOPROF entries to pass a critical argument in %edx instead of on the
      stack, removing a significant amount of code from the critical path
      as a consequence.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>, Peter Wemm <peter@netplex.com.au>
1999-11-19 22:47:19 +00:00
..
alpha Use LIST_FOREACH to traverse the allproc list. 1999-11-19 21:34:50 +00:00
amd64 Use LIST_FOREACH to traverse the allproc list. 1999-11-19 21:34:50 +00:00
boot Change the name of the modules from <name>_mod to <name> 1999-11-17 22:47:11 +00:00
cam Fix a couple of boo-boos in the last delta. 1999-11-17 17:11:21 +00:00
coda Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
compat simplify check for device. 1999-11-08 09:59:17 +00:00
compile
conf Sync with sys/i386/conf/Makefile.i386 revision up to 1.163. 1999-11-18 11:26:45 +00:00
contrib Finding root devices is a much more sane thing now. 1999-11-10 10:50:51 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev Make the event creation work 1999-11-19 13:13:28 +00:00
fs Fix an unused variable warning. 1999-11-18 09:07:30 +00:00
geom Remove the devsw magic from DEV_MODULE() 1999-11-07 10:01:17 +00:00
gnu Fix __asm__ clobber list abuse. 1999-11-15 23:16:06 +00:00
i4b
i386 Optimize two cases in the MP locking code. First, it is not necessary 1999-11-19 22:47:19 +00:00
isa Argh, don't turn the IIR test on unless it's a pccard. These tests mess 1999-11-18 10:29:06 +00:00
isofs/cd9660 Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
kern The at_exit and at_fork functions currently use a 'roll your own' 1999-11-19 21:29:03 +00:00
libkern Move strto{u}[ql]() into their own libkern files. 1999-11-03 18:20:59 +00:00
miscfs Fix an unused variable warning. 1999-11-18 09:07:30 +00:00
modules Module name is cardbus, not pccard. 1999-11-19 06:31:24 +00:00
msdosfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
net Add some more comments to the sl_compress_tcp() function. 1999-11-15 20:17:04 +00:00
netatalk
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph Revert previous commit now that 'acfcomp' has been removed from 1999-11-19 20:42:14 +00:00
netinet Fix a warning and a potential panic if TCPDEBUG is active. (tp is 1999-11-18 08:28:24 +00:00
netinet6 KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
netipx
netkey
netnatm
netncp Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
netns
nfs Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
nfsclient Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
nfsserver Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00
ntfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
nwfs Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
pc98 Sync with sys/isa/sio.c revision up to 1.275. 1999-11-18 12:22:09 +00:00
pccard
pci Initial import of cardbus bridge driver (cbb) from the latest 1999-11-18 07:14:54 +00:00
posix4
powerpc Re-organise the code which manages the owner of the FP state (fpcurproc). 1999-11-10 21:14:25 +00:00
rpc
svr4
sys Cop on a bit and regenerate things correctly. 1999-11-18 20:45:04 +00:00
tools Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ufs Fix a warning (unused static declaration without MFS_ROOT) 1999-11-18 08:49:40 +00:00
vm Remove the non-functional "swap device" userland front-end to the 1999-11-18 06:55:40 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00