Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 21:37:32 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246923 - head/sys/kern
Message-ID:  <201302172137.r1HLbWSF085759@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302172137.r1HLbWSF085759>