projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hung task debugging: Inject NMI when hung and going to panic
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
hung_task.c
diff --git
a/kernel/hung_task.c
b/kernel/hung_task.c
index c21449f85a2a4061bd9a34fc4844b5a3240850b3..6df614912b9d40a9f77dd4fadc54af4fa1ca3ccb 100644
(file)
--- a/
kernel/hung_task.c
+++ b/
kernel/hung_task.c
@@
-108,8
+108,10
@@
static void check_hung_task(struct task_struct *t, unsigned long timeout)
touch_nmi_watchdog();
- if (sysctl_hung_task_panic)
+ if (sysctl_hung_task_panic) {
+ trigger_all_cpu_backtrace();
panic("hung_task: blocked tasks");
+ }
}
/*