kernel - Add debugging features
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 08:35:29 +0000 (00:35 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 08:35:29 +0000 (00:35 -0800)
commit14db6e91494d098f3c021f69fb9887a919fd2650
tree6ccc64ff0f4c3f2cf64dd401def24d14d49fe830
parent65e0fdf28f8d0213024018325caec225ca7451ca
kernel - Add debugging features

* Add lwkt.mplock_backtrace to force the kernel to print a backtrace
  when it encounters a mplock collision.  This is a bit problematic
  though as the backtrace can sometimes crash the kernel.

* Allow lwkt.mplock_yield_delay to be set to 0.
sys/kern/kern_mplock.c