freebsd-dev/share
Attilio Rao f7829d0d5c Introduce the new kernel thread called "deadlock resolver".
While the name is pretentious, a good explanation of its targets is
reported in this 17 months old presentation e-mail:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-August/008452.html

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Reviewed by:	jeff
Tested by:	pho, Giovanni Trematerra
Sponsored by:	Nokia Incorporated, Sandvine Incorporated
MFC after:	2 weeks
2010-01-09 01:46:38 +00:00
..
colldef Add lv_LV, move lt_LT to common part 2009-09-03 16:53:11 +00:00
dict
doc Add the KNOWN-DEFECTS file back in for the 9.6.1 release. 2009-06-25 20:09:53 +00:00
examples Remove examples for pppd and SLIP-related stuff. 2009-12-29 20:20:51 +00:00
info
man Introduce the new kernel thread called "deadlock resolver". 2010-01-09 01:46:38 +00:00
me
misc Now that I'm free from mentorship, it's only fair to document who 2010-01-04 15:50:41 +00:00
mk Disable K&R style function definitions for WARNS=6. 2009-12-31 00:07:26 +00:00
mklocale Add lv_LV, move lt_LT to common part 2009-09-03 17:12:45 +00:00
monetdef Last character is a space for the international currency symbol. 2009-09-13 22:17:23 +00:00
msgdef Add lv_LV 2009-09-04 06:19:37 +00:00
numericdef Add lv_LV 2009-09-03 17:37:23 +00:00
security
sendmail Dont install .svn metadata with the sendmail install. 2008-05-31 19:15:15 +00:00
skel Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
snmp
syscons Add various new keymaps: 2009-06-12 22:53:49 +00:00
tabset
termcap Improve the markup 2009-12-14 20:59:01 +00:00
timedef Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m 2009-11-14 15:56:23 +00:00
zoneinfo MFV of tzdata2009u, r201187 2009-12-29 10:13:45 +00:00
Makefile Whitespace nit 2008-10-08 13:20:02 +00:00
Makefile.inc