Skip to content

RFC hung_task: Display every hung task warning

Aaron Tomlin lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 RFC Latest2 patches 2 repliesIn review
  2. v4 RFC2 patches 2 repliesSuperseded
  3. v3 RFC2 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC2 patches1 replySuperseded
v1 RFC2 patches3 repliesSuperseded

Changes in v5 from the cover letter

- Improve the documentation on hung_task_warnings

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sysctl: Make neg_one a standard constraintkernel/sysctl.c+1 -02 replies
2/2hung_task: Display every hung task warningDocumentation/sysctl/kernel.txt include/linux/sched/sysctl.h kernel/hung_task.c +1 more+51 -50 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRik van RielDavid Rientjes
1/2A-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [RFC PATCH v5 0/2] hung_task: Display every hung task warning

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(-)
Signature · 1 line
1.8.4.2