diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-02-17 21:37:32 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-02-17 21:37:32 +0000 |
commit | b2e054b0d42fa25514eae30706af00a5b4ab87ec (patch) | |
tree | fe8154f025429988c7f862f8fc6753b544e42260 /sys/kern/subr_turnstile.c | |
parent | d6e636c98852fbae89c94bde764872f0d510dca0 (diff) | |
download | src-b2e054b0d42fa25514eae30706af00a5b4ab87ec.tar.gz src-b2e054b0d42fa25514eae30706af00a5b4ab87ec.zip |
Update the comment: we do show the backtrace of misbehaving thread.
Notes
Notes:
svn path=/head/; revision=246923
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 76fb96400362..0a21ad929496 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( |