From 827a11a3e02fa411af93f2533038773aabaebe4d Mon Sep 17 00:00:00 2001 From: pjd Date: Sun, 17 Feb 2013 21:37:32 +0000 Subject: Update the comment: we do show the backtrace of misbehaving thread. --- sys/kern/subr_turnstile.c | 7 +++---- 1 file 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( -- cgit v1.1