diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c95f3ed34474..96f31c1bc4f0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -753,6 +753,33 @@ static struct ctl_table kern_table[] = { | |||
753 | .extra1 = &one, | 753 | .extra1 = &one, |
754 | .extra2 = &sixty, | 754 | .extra2 = &sixty, |
755 | }, | 755 | }, |
756 | { | ||
757 | .ctl_name = CTL_UNNUMBERED, | ||
758 | .procname = "hung_task_check_count", | ||
759 | .data = &sysctl_hung_task_check_count, | ||
760 | .maxlen = sizeof(int), | ||
761 | .mode = 0644, | ||
762 | .proc_handler = &proc_dointvec_minmax, | ||
763 | .strategy = &sysctl_intvec, | ||
764 | }, | ||
765 | { | ||
766 | .ctl_name = CTL_UNNUMBERED, | ||
767 | .procname = "hung_task_timeout_secs", | ||
768 | .data = &sysctl_hung_task_timeout_secs, | ||
769 | .maxlen = sizeof(int), | ||
770 | .mode = 0644, | ||
771 | .proc_handler = &proc_dointvec_minmax, | ||
772 | .strategy = &sysctl_intvec, | ||
773 | }, | ||
774 | { | ||
775 | .ctl_name = CTL_UNNUMBERED, | ||
776 | .procname = "hung_task_warnings", | ||
777 | .data = &sysctl_hung_task_warnings, | ||
778 | .maxlen = sizeof(int), | ||
779 | .mode = 0644, | ||
780 | .proc_handler = &proc_dointvec_minmax, | ||
781 | .strategy = &sysctl_intvec, | ||
782 | }, | ||
756 | #endif | 783 | #endif |
757 | #ifdef CONFIG_COMPAT | 784 | #ifdef CONFIG_COMPAT |
758 | { | 785 | { |