[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241022114736.83285-1-ioworker0@gmail.com>
Date: Tue, 22 Oct 2024 19:47:34 +0800
From: Lance Yang <ioworker0@...il.com>
To: akpm@...ux-foundation.org
Cc: cunhuang@...cent.com,
leonylgao@...cent.com,
j.granados@...sung.com,
jsiddle@...hat.com,
kent.overstreet@...ux.dev,
21cnbao@...il.com,
ryan.roberts@....com,
david@...hat.com,
ziy@...dia.com,
libang.li@...group.com,
baolin.wang@...ux.alibaba.com,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
Lance Yang <ioworker0@...il.com>
Subject: [PATCH 0/2] hung_task: add detect count for hung tasks
Hi all,
This patchset adds a counter, hung_task_detect_count, to track the number of
times hung tasks are detected. This counter provides a straightforward way
to monitor hung task events without manually checking dmesg logs.
With this counter in place, system issues can be spotted quickly, allowing
admins to step in promptly before system load spikes occur, even if the
hung_task_warnings value has been decreased to 0 well before.
Recently, we encountered a situation where warnings about hung tasks were
buried in dmesg logs during load spikes. Introducing this counter could
have helped us detect such issues earlier and improve our analysis efficiency.
Lance Yang (2):
hung_task: add detect count for hung tasks
hung_task: add docs for hung_task_detect_count
Documentation/admin-guide/sysctl/kernel.rst | 9 +++++++++
kernel/hung_task.c | 18 ++++++++++++++++++
2 files changed, 27 insertions(+)
--
2.45.2
Powered by blists - more mailing lists