From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbaAWK4t (ORCPT ); Thu, 23 Jan 2014 05:56:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751943AbaAWK4q (ORCPT ); Thu, 23 Jan 2014 05:56:46 -0500 From: Aaron Tomlin To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, rientjes@google.com, mingo@redhat.com, oleg@redhat.com, riel@redhat.com, akpm@linux-foundation.org, atomlin@redhat.com Subject: [RFC PATCH v5 0/2] hung_task: Display every hung task warning Date: Thu, 23 Jan 2014 10:56:01 +0000 Message-Id: <1390474563-15424-1-git-send-email-atomlin@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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