freebsd-skq/sys
Bosko Milekic af76144992 - Add sx_descr description member to sx lock structure
- Add sx_xholder member to sx struct which is used for INVARIANTS-enabled
  assertions. It indicates the thread that presently owns the xlock.
- Add some assertions to the sx lock code that will detect the fatal
  API abuse:
     xlock --> xlock
     xlock --> slock
  which now works thanks to sx_xholder.
  Notice that the remaining two problematic cases:
     slock --> xlock
     slock --> slock (a little less problematic, but still recursion)
  will need to be handled by witness eventually, as they are more
  involved.

Reviewed by: jhb, jake, jasone
2001-03-06 06:17:05 +00:00
..
alpha - Rework pmap_map() to take advantage of direct-mapped segments on 2001-03-06 06:06:42 +00:00
amd64 - Rework pmap_map() to take advantage of direct-mapped segments on 2001-03-06 06:06:42 +00:00
arm/include Correct disordering which is corresponding to bde's fix to 2001-02-17 14:51:11 +00:00
boot Fix whitespace. 2001-03-04 04:38:14 +00:00
cam o Support AUTO SENSE correctly. 2001-02-25 12:40:30 +00:00
coda Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
compat Only pick up so_error the first time through with EISCONN, as advertised. 2001-03-02 19:29:53 +00:00
compile
conf Implement shared/exclusive locks. 2001-03-05 19:59:41 +00:00
contrib/dev Resolve merge conflicts. 2001-03-05 02:16:51 +00:00
crypto
ddb
dev #if 0 out a variable only used in #if 0'd code to quiet a warning. 2001-03-06 03:07:58 +00:00
fs Remove the copyinstr call which was trying to copy the pathname in from 2001-03-03 15:15:33 +00:00
geom Fix a braino in ccd's clone routine. 2001-01-29 06:18:14 +00:00
gnu Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
i4b Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
i386 - Rework pmap_map() to take advantage of direct-mapped segments on 2001-03-06 06:06:42 +00:00
ia64 - Rework pmap_map() to take advantage of direct-mapped segments on 2001-03-06 06:06:42 +00:00
isa Harvest interrupt entropy off the floppy disk controller. 2001-03-03 14:53:50 +00:00
isofs/cd9660 Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
kern - Add sx_descr description member to sx lock structure 2001-03-06 06:17:05 +00:00
libkern RIP <machine/lock.h>. 2001-02-11 10:44:09 +00:00
miscfs Remove the copyinstr call which was trying to copy the pathname in from 2001-03-03 15:15:33 +00:00
modules #if 0 out a variable only used in #if 0'd code to quiet a warning. 2001-03-06 03:07:58 +00:00
msdosfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
net Protect against negative numbers as well 2001-02-26 09:52:43 +00:00
netatalk Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
netgraph Cleanups to Macros for sending data between netgraph nodes. 2001-03-03 05:52:49 +00:00
netinet Modify the comments to more closely resemble the English language. 2001-03-05 22:40:27 +00:00
netinet6 More IP option length validation. 2001-02-26 03:41:13 +00:00
netipx Another round of the <sys/queue.h> FOREACH transmogriffer. 2001-02-04 16:08:18 +00:00
netkey
netnatm Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netncp Implement m_getm() which will perform an "all or nothing" mbuf + cluster 2001-02-14 05:13:04 +00:00
netns
nfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nfsclient Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nfsserver Switch to using a struct xucred instead of a struct xucred when not 2001-02-18 13:30:20 +00:00
ntfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nwfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
pc98 Added another wd33c93 based SCSI card driver which replaces the bs driver. 2001-02-27 12:34:01 +00:00
pccard Move ti1031 to the 16-bit bridge section 2001-02-07 01:16:40 +00:00
pci Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
posix4 Lock need_resched with sched_lock. 2001-02-22 13:46:09 +00:00
powerpc Rename switch_trampoline() to fork_trampoline() on the alpha and ia64. 2001-02-22 16:56:53 +00:00
rpc
svr4
sys - Add sx_descr description member to sx lock structure 2001-03-06 06:17:05 +00:00
tools
ufs Free lock before returning from process_worklist_item. 2001-03-01 21:43:46 +00:00
vm - Rework pmap_map() to take advantage of direct-mapped segments on 2001-03-06 06:06:42 +00:00
Makefile