summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_turnstile.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-02-17 21:37:32 +0000
committerpjd <pjd@FreeBSD.org>2013-02-17 21:37:32 +0000
commit827a11a3e02fa411af93f2533038773aabaebe4d (patch)
treefe8154f025429988c7f862f8fc6753b544e42260 /sys/kern/subr_turnstile.c
parent0bf19fd81213327b0ddfd5708b76528fbdb507af (diff)
downloadFreeBSD-src-827a11a3e02fa411af93f2533038773aabaebe4d.zip
FreeBSD-src-827a11a3e02fa411af93f2533038773aabaebe4d.tar.gz
Update the comment: we do show the backtrace of misbehaving thread.
Diffstat (limited to 'sys/kern/subr_turnstile.c')
-rw-r--r--sys/kern/subr_turnstile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index 76fb964..0a21ad9 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -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(
OpenPOWER on IntegriCloud