projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hung_task: print message when hung_task_warnings gets down to zero.
[linux-2.6-block.git]
/
kernel
/
hung_task.c
diff --git
a/kernel/hung_task.c
b/kernel/hung_task.c
index c71889f3f3fc23ca7da3215caa5f5a4e69e7a41c..322813366c6c60def4d47d7adbac57d390d0da99 100644
(file)
--- a/
kernel/hung_task.c
+++ b/
kernel/hung_task.c
@@
-142,6
+142,8
@@
static void check_hung_task(struct task_struct *t, unsigned long timeout)
if (sysctl_hung_task_all_cpu_backtrace)
hung_task_show_all_bt = true;
+ if (!sysctl_hung_task_warnings)
+ pr_info("Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings\n");
}
touch_nmi_watchdog();