[RFC PATCH v3 0/2] hung_task: Display every hung task warning

From: atomlin
Date: Wed Jan 15 2014 - 11:28:01 EST


From: Aaron Tomlin <atomlin@xxxxxxxxxx>

When khungtaskd detects hung tasks, it prints out
backtraces from a number of those tasks. Sometimes
the information on why things are stuck is hidden
in those backtraces. Limiting the number of
backtraces being printed out can result in the user
not seeing the information necessary to debug the
issue. This patch introduces an option to print an
unlimited number of backtraces when khungtaskd
detects hung tasks.

While ULONG_MAX is practically "inf", this patch
takes it one step further. Note: The maximum is
now 2^31-1 (INT_MAX) which should hopefully be
sufficient.

Rebased against v3.13-rc8.

Aaron Tomlin (2):
sysctl: Make neg_one a standard constraint
hung_task: Display every hung task warning

include/linux/sched/sysctl.h | 2 +-
kernel/hung_task.c | 6 ++++--
kernel/sysctl.c | 6 ++++--
3 files changed, 9 insertions(+), 5 deletions(-)

--
1.8.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/