freebsd-skq/sys
attilio 00ea27d0c3 - For any lock list we hold the head in order to reduce allocation from
the free list and in this way avoid contention on the w_mtx.
  In order to make the code simple, we rely on the rule that when the head
  has not a child it also doesn't have other subsequent entries.
  Actually this assertion is broken because we can free all the head
  children and quit witness_unlock() with the head still allocated, with no
  children and subsequent entries present.
  Fix this by shifting the head if other entries are present and still
  freeing the object, but leaving always an head.
- Fix witness_thread_has_locks() in order to report, correctly, if the
  lock list linked to a specific thread has children or not based on the
  above explained rule.
- Fix a printout into DDB's "show alllocks" command in order to show,
  correctly, the process name that is really what we want.
- Fix style(9) for a comment.

Tested by:	Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reported by:	Marko Kiiskila <marko dot kiiskila at nokia dot com>
Sponsored by:	Nokia
2008-09-12 21:44:01 +00:00
..
amd64 Add a 'hw.pci.mcfg' tunable. It can be set to 0 to disable memory-mapped 2008-09-11 21:42:11 +00:00
arm Bandaid: disable interrupts to make sure intr_enabled and the IER register 2008-09-11 20:43:38 +00:00
boot Revert r177108 and restore r60506 for sparc64 as long as libstand 2008-09-10 20:53:22 +00:00
bsm When MPSAFE ttys were merged, a new BSM audit event identifier was 2008-08-24 21:20:35 +00:00
cam Fix a locking mistake in daopen(). If the open fails, which can happen 2008-08-29 04:39:46 +00:00
cddl Remove VSVTX, VSGID and VSUID. This should be a no-op, 2008-09-10 13:16:41 +00:00
compat The ERESTART to EINTR conversion is already done in 2008-09-11 15:28:28 +00:00
conf Add drivers for the power management devices found on Fireplane/ 2008-09-10 20:22:27 +00:00
contrib Merge ath again (addition of wisoc files). 2008-09-05 22:24:31 +00:00
crypto Simplify session selection/allocation. 2008-08-09 20:01:01 +00:00
ddb Add a missing include which was erroneusly left out from the previous 2008-08-18 16:51:44 +00:00
dev Don't issue CDC request before negotiate the interface role. 2008-09-12 20:34:12 +00:00
fs Fix two small typo's in comments in the nullfs vnops code. 2008-09-11 20:15:34 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom - Add a new ioctl for getting the provider name of a geom provider. 2008-09-07 13:54:57 +00:00
gnu Remove VSVTX, VSGID and VSUID. This should be a no-op, 2008-09-10 13:16:41 +00:00
i386 When doing rfork(0), i.e. separating curproc VM from any other user of 2008-09-12 09:53:29 +00:00
ia64 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
isa MFp4 (my newcard tree): 2008-08-24 07:40:14 +00:00
kern - For any lock list we hold the head in order to reduce allocation from 2008-09-12 21:44:01 +00:00
libkern Add strcspn to libkern for use by xenbus routines. Will add to build 2008-08-15 04:07:22 +00:00
mips Fix path in all includes: remove /mips32 subdirectory 2008-09-10 03:49:08 +00:00
modules Connect ufoma(4) to build and, 2008-09-12 03:45:08 +00:00
net Add a missing break statement; IFDATA_LINKSPECIFIC would fall through 2008-09-10 13:08:37 +00:00
net80211 make all checks if ni_chw consistent 2008-09-06 17:51:02 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Add Marko's pipe node. 2008-09-03 18:17:45 +00:00
netinet Work around an integer division resulting in 0 and thus the 2008-09-09 07:35:21 +00:00
netinet6 mld_timerresid() returns ms so instead of doing the maths in usec 2008-09-10 19:42:13 +00:00
netipsec Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
netipx Begin the sysctl descriptions with a capital letter. 2008-07-25 23:54:07 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp lockmgrs need to be released before to be destroyed and draining doesn't 2008-03-30 18:16:33 +00:00
netsmb Really, smb_iod_main() is not totally MPSAFE, so just acquire and drop 2008-03-27 01:23:59 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nfsclient Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions. 2008-08-31 14:26:08 +00:00
nfsserver Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nlm Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
opencrypto
pc98 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and 2008-09-10 18:36:58 +00:00
pccard
pci Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
powerpc Trace interrupts with KTR_INTR. 2008-08-31 23:54:22 +00:00
rpc Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
security Remove VSVTX, VSGID and VSUID. This should be a no-op, 2008-09-10 13:16:41 +00:00
sparc64 Add drivers for the power management devices found on Fireplane/ 2008-09-10 20:22:27 +00:00
sun4v Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating 2008-09-10 20:07:08 +00:00
sys Teach WITNESS about the interlocks used with lockmgr. This removes a bunch 2008-09-10 19:13:30 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs When calling extattr_check_cred, use V{READ,WRITE}, not I{READ,WRITE}. 2008-09-03 12:46:09 +00:00
vm Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
xdr Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
xen - add more debug cruft to xenbus 2008-08-20 09:20:12 +00:00
Makefile Improve the glimpse target: don't index .svn and compile directories. 2008-08-15 14:11:30 +00:00