The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] hung_task: update DETECT_HUNG_TASK_BLOCKER Kconfig help
@ 2026-07-30  3:17 Xibo Wang
  2026-07-30  4:47 ` Lance Yang
  2026-07-30  6:18 ` [PATCH v2] " Xibo Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Xibo Wang @ 2026-07-30  3:17 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, mhiramat, lance.yang, Xibo Wang

The help text still says the feature only covers mutexes, but blocker
tracking has since been extended to semaphores and rwsems. Update the
description to match the supported lock types.

Signed-off-by: Xibo Wang <wangxb12@chinatelecom.cn>
---
 lib/Kconfig.debug | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1244dcac2294..c2ffaff918d1 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1320,10 +1320,11 @@ config DETECT_HUNG_TASK_BLOCKER
 	depends on !PREEMPT_RT
 	default y
 	help
-	  Say Y here to show the blocker task's stacktrace who acquires
-	  the mutex lock which "hung tasks" are waiting.
-	  This will add overhead a bit but shows suspicious tasks and
-	  call trace if it comes from waiting a mutex.
+	  Say Y here to show the blocker task's stacktrace that holds
+	  the lock which "hung tasks" are waiting on. Supported lock
+	  types are mutex, semaphore, and rwsem.
+	  This will add a bit of overhead but shows suspicious tasks and
+	  call traces if it comes from waiting on one of these locks.
 
 config WQ_WATCHDOG
 	bool "Detect Workqueue Stalls"
-- 
2.46.0


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

end of thread, other threads:[~2026-07-30  7:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30  3:17 [PATCH] hung_task: update DETECT_HUNG_TASK_BLOCKER Kconfig help Xibo Wang
2026-07-30  4:47 ` Lance Yang
2026-07-30  6:16   ` Xibo Wang
2026-07-30  6:18 ` [PATCH v2] " Xibo Wang
2026-07-30  7:21   ` Lance Yang

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