Skip to contentSkip to conversation

hung_task-print-message-when-hung_task_warnings-gets-down-to-zero.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Feb 10, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: hung_task: print message when hung_task_warnings gets down to zero.
has been removed from the -mm tree. Its filename was
hung_task-print-message-when-hung_task_warnings-gets-down-to-zero.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: fuyuanli <[email protected]>
Subject: hung_task: print message when hung_task_warnings gets down to zero.
Date: Wed, 1 Feb 2023 21:54:33 +0800

It's useful to report it when hung_task_warnings gets down to zero, so that we can know if kernel log was lost or there is no hung task was detected.

---

 kernel/hung_task.c |    2 ++
 1 file changed, 2 insertions(+)
kernel/hung_task.c renamed from kernel/hung_task.c~hung_task-print-message-when-hung_task_warnings-gets-down-to-zero +2 -0
@@ -142,6 +142,8 @@ static void check_hung_task(struct task_
 
 		if (sysctl_hung_task_all_cpu_backtrace)
 			hung_task_show_all_bt = true;
+		if (!sysctl_hung_task_warnings)
+			pr_info("Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings\n");
 	}
 
 	touch_nmi_watchdog();

_

Patches currently in -mm which might be from [email protected] are