diff options
author | pjd <pjd@FreeBSD.org> | 2013-02-17 21:37:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-02-17 21:37:32 +0000 |
commit | 827a11a3e02fa411af93f2533038773aabaebe4d (patch) | |
tree | fe8154f025429988c7f862f8fc6753b544e42260 /sys/kern/subr_turnstile.c | |
parent | 0bf19fd81213327b0ddfd5708b76528fbdb507af (diff) | |
download | FreeBSD-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.c | 7 |
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( |