HardenedBSD/sys
Matthew Dillon cd906fe3de 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 16:49:30 +00:00
..
alpha Properly attribute interrupt time on alpha. Previously, interrupt time 1999-11-19 13:38:22 +00:00
amd64 Optimize two cases in the MP locking code. First, it is not necessary 1999-11-19 16:49:30 +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
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
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
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 16:49:30 +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
kern Cop on a bit and regenerate things correctly. 1999-11-18 20:45:04 +00:00
libkern
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
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 Use 'struct ng_xxx_private' instead of 'struct private' to help gdb 1999-11-19 05:50:29 +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
netipx
netkey
netnatm
netncp
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
nwfs
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