mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v4 0/2] hung_task: Display every hung task warning
@ 2014-01-20 17:34 atomlin
  2014-01-20 17:34 ` [RFC PATCH v4 1/2] sysctl: Make neg_one a standard constraint atomlin
  2014-01-20 17:34 ` [RFC PATCH v4 2/2] hung_task: Display every hung task warning atomlin
  0 siblings, 2 replies; 7+ messages in thread
From: atomlin @ 2014-01-20 17:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: rientjes, mingo, oleg, riel, akpm, atomlin

From: Aaron Tomlin <atomlin@redhat.com>

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 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-25 14:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 17:34 [RFC PATCH v4 0/2] hung_task: Display every hung task warning atomlin
2014-01-20 17:34 ` [RFC PATCH v4 1/2] sysctl: Make neg_one a standard constraint atomlin
2014-01-22  5:24   ` David Rientjes
2014-01-25 14:24   ` [tip:core/urgent] sysctl: Add neg_one as " tip-bot for Aaron Tomlin
2014-01-20 17:34 ` [RFC PATCH v4 2/2] hung_task: Display every hung task warning atomlin
2014-01-22  5:24   ` David Rientjes
2014-01-25 14:26   ` [tip:core/urgent] " tip-bot for Aaron Tomlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome