lkml.org 
[lkml]   [2014]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v2 0/2] hung_task: Display every hung task warning
Date
From: Aaron Tomlin <atomlin@redhat.com>

The khungtaskd thread limits how many hung task warnings it displays
at a time, when a timeout occurs. This patch allows that limit to be
set to "unlimited", by setting hung_task_warnings to -1, which will
cause khungtaskd to display information about all 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 | 9 +++++----
kernel/sysctl.c | 6 ++++--
3 files changed, 10 insertions(+), 7 deletions(-)

--
1.8.4.2



\
 
 \ /
  Last update: 2014-01-15 01:21    [W:0.033 / U:2.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site