svn commit: r246923 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Feb 17 21:37:34 UTC 2013
Author: pjd
Date: Sun Feb 17 21:37:32 2013
New Revision: 246923
URL: http://svnweb.freebsd.org/changeset/base/246923
Log:
Update the comment: we do show the backtrace of misbehaving thread.
Modified:
head/sys/kern/subr_turnstile.c
Modified: head/sys/kern/subr_turnstile.c
==============================================================================
--- head/sys/kern/subr_turnstile.c Sun Feb 17 21:12:34 2013 (r246922)
+++ head/sys/kern/subr_turnstile.c Sun Feb 17 21:37:32 2013 (r246923)
@@ -215,10 +215,9 @@ propagate_priority(struct thread *td)
/*
* If the thread is asleep, then we are probably about
- * to deadlock. To make debugging this easier, just
- * panic and tell the user which thread misbehaved so
- * they can hopefully get a stack trace from the truly
- * misbehaving thread.
+ * to deadlock. To make debugging this easier, show
+ * backtrace of misbehaving thread and panic to not
+ * leave the kernel deadlocked.
*/
if (TD_IS_SLEEPING(td)) {
printf(
More information about the svn-src-all
mailing list