|
@@ -238,6 +238,21 @@ config DETECT_HUNG_TASK
|
|
enabled then all held locks will also be reported. This
|
|
enabled then all held locks will also be reported. This
|
|
feature has negligible overhead.
|
|
feature has negligible overhead.
|
|
|
|
|
|
|
|
+config DEFAULT_HUNG_TASK_TIMEOUT
|
|
|
|
+ int "Default timeout for hung task detection (in seconds)"
|
|
|
|
+ depends on DETECT_HUNG_TASK
|
|
|
|
+ default 120
|
|
|
|
+ help
|
|
|
|
+ This option controls the default timeout (in seconds) used
|
|
|
|
+ to determine when a task has become non-responsive and should
|
|
|
|
+ be considered hung.
|
|
|
|
+
|
|
|
|
+ It can be adjusted at runtime via the kernel.hung_task_timeout
|
|
|
|
+ sysctl or by writing a value to /proc/sys/kernel/hung_task_timeout.
|
|
|
|
+
|
|
|
|
+ A timeout of 0 disables the check. The default is two minutes.
|
|
|
|
+ Keeping the default should be fine in most cases.
|
|
|
|
+
|
|
config BOOTPARAM_HUNG_TASK_PANIC
|
|
config BOOTPARAM_HUNG_TASK_PANIC
|
|
bool "Panic (Reboot) On Hung Tasks"
|
|
bool "Panic (Reboot) On Hung Tasks"
|
|
depends on DETECT_HUNG_TASK
|
|
depends on DETECT_HUNG_TASK
|