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
..
2009-11-28 23:50:48 +00:00
2009-12-22 09:03:59 +00:00
2009-12-14 22:47:09 +00:00
2009-12-28 20:08:01 +00:00
2010-01-02 01:12:10 +00:00
2009-11-03 20:22:09 +00:00
2009-12-28 23:12:55 +00:00
2009-12-14 20:04:28 +00:00
2009-09-19 17:56:26 +00:00
2009-10-23 15:10:41 +00:00
2009-11-06 07:17:31 +00:00
2009-12-21 19:39:10 +00:00
2009-10-27 11:01:40 +00:00
2009-10-27 11:01:40 +00:00
2009-12-16 21:53:56 +00:00
2009-11-28 23:50:48 +00:00
2010-01-04 20:59:52 +00:00
2009-09-06 09:39:40 +00:00
2009-08-23 08:04:40 +00:00
2009-06-25 12:46:59 +00:00