Messages in this thread | | | From | Aaron Tomlin <> | Subject | [RFC PATCH v5 0/2] hung_task: Display every hung task warning | Date | Thu, 23 Jan 2014 10:56:01 +0000 |
| |
When khungtaskd detects hung tasks, it prints out backtraces from a number of those tasks. Limiting the number of backtraces being printed out can result in the user not seeing the information necessary to debug the issue. The hung_task_warnings sysctl controls this feature.
This patch makes it possible for hung_task_warnings to accept a special value to print an unlimited number of backtraces when khungtaskd detects hung tasks.
The special value is -1. To use this value it is necessary to change types from ulong to int.
Rebased against v3.13-rc8.
Changes since v4: - Improve the documentation on hung_task_warnings
Changes since v3: - Simplify the commit message (Rik van Riel and David Rientjes) - Document hung_task_* sysctl parameters (David Rientjes)
Aaron Tomlin (2): sysctl: Make neg_one a standard constraint hung_task: Display every hung task warning
Documentation/sysctl/kernel.txt | 42 +++++++++++++++++++++++++++++++++++++++++ include/linux/sched/sysctl.h | 2 +- kernel/hung_task.c | 6 ++++-- kernel/sysctl.c | 6 ++++-- 4 files changed, 51 insertions(+), 5 deletions(-)
-- 1.8.4.2
| |