freebsd-dev/sys
Attilio Rao 90356491d7 - Embed the recursion counter for any locking primitive directly in the
lock_object, using an unified field called lo_data.
- Replace lo_type usage with the w_name usage and at init time pass the
  lock "type" directly to witness_init() from the parent lock init
  function.  Handle delayed initialization before than
  witness_initialize() is called through the witness_pendhelp structure.
- Axe out LO_ENROLLPEND as it is not really needed.  The case where the
  mutex init delayed wants to be destroyed can't happen because
  witness_destroy() checks for witness_cold and panic in case.
- In enroll(), if we cannot allocate a new object from the freelist,
  notify that to userspace through a printf().
- Modify the depart function in order to return nothing as in the current
  CVS version it always returns true and adjust callers accordingly.
- Fix the witness_addgraph() argument name prototype.
- Remove unuseful code from itismychild().

This commit leads to a shrinked struct lock_object and so smaller locks,
in particular on amd64 where 2 uintptr_t (16 bytes per-primitive) are
gained.

Reviewed by:	jhb
2008-05-15 20:10:06 +00:00
..
amd64 Regen. 2008-05-13 20:02:26 +00:00
arm Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
boot Revert the previous change and let PROBE_KEYBOARD function identical to -P 2008-04-09 17:59:17 +00:00
bsm Merge OpenBSM 1.0 changes to src/sys/bsm: 2007-10-29 18:47:25 +00:00
cam Locking in the ses_ioctl handler doesn't have to be so strict because 2008-03-17 17:18:16 +00:00
cddl Add FreeBSD IDs to files that originate in FreeBSD. 2008-04-22 07:43:00 +00:00
compat Fix a panic when it occurred during initializing the ndis driver because 2008-05-15 04:29:28 +00:00
conf Add -mno-sse3 for amd64 case too 2008-05-10 20:46:07 +00:00
contrib Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
crypto Make test00 compilable again. 2008-01-15 18:34:47 +00:00
ddb Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in 2008-04-25 13:23:36 +00:00
dev Move speaker a lot closer to style(9) 2008-05-15 01:22:48 +00:00
fs Don't explicitly drop Giant around d_open/d_fdopen/d_close for MPSAFE 2008-05-07 19:03:57 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom Implement the G_PART_DUMPCONF method for all 6 schemes. Also call 2008-04-23 20:13:05 +00:00
gnu Move the head of byte-level advisory lock list from the 2008-04-16 11:33:32 +00:00
i4b Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
i386 Regen. 2008-05-13 20:02:26 +00:00
ia64 Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
isa atrtc.c is a repocopy of the RTC device driver from i386/isa/clock.c 2008-04-14 07:57:15 +00:00
kern - Embed the recursion counter for any locking primitive directly in the 2008-05-15 20:10:06 +00:00
libkern Add prototype for __cmpd2(). 2008-02-23 22:40:05 +00:00
mips Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
modules Add a new personality to mpt(4) devices to allow userland applications to 2008-05-06 20:49:53 +00:00
net Add missing braces in #if 0ed code. 2008-05-10 18:33:38 +00:00
net80211 declare ieee80211_phymode_name with an array size 2008-05-12 00:34:28 +00:00
netatalk Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
netatm Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
netgraph Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
netinet Fix the loopback interface. Cleaning up some code with new macros 2008-05-12 02:44:53 +00:00
netinet6 Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
netipsec Fix a bug that when getting/dumping the soft lifetime we reported 2008-03-24 15:01:20 +00:00
netipx Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
netnatm
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 Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
nfsclient Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
nfsserver Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nlm Tighten up the error-handling in nlm_get_rpc. While I'm here, fix a 2008-04-16 09:09:50 +00:00
opencrypto Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
pc98 Expand kdb_alt_break a little, most commonly used with the option 2008-05-04 23:29:38 +00:00
pccard
pci - Set sc->dev to the new-bus device_t so all the device_printf()s work. 2008-05-12 21:34:52 +00:00
powerpc Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
rpc Fix some issues that showed up during Kris' testing. 2008-04-11 10:34:59 +00:00
security When testing whether to enter the audit argument gathering code, rather 2008-05-06 00:32:23 +00:00
sparc64 Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
sun4v Add a stub for pmap_align_superpage() on machines that don't (yet) 2008-05-09 23:31:42 +00:00
sys - Embed the recursion counter for any locking primitive directly in the 2008-05-15 20:10:06 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs - Use a local variable for i_ino in ufs_lookup. It is only used to 2008-04-22 12:34:16 +00:00
vm Don't call vm_reserv_alloc_page() on device-backed objects. Otherwise, the 2008-05-15 18:52:31 +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
Makefile o Add boot, gdb, nfsserver and opencrypto dirs to CSCOPEDIRS; sort. 2008-01-23 08:50:34 +00:00