hung_task: print message when hung_task_warnings gets down to zero.
authorfuyuanli <fuyuanli@didiglobal.com>
Wed, 1 Feb 2023 13:54:33 +0000 (21:54 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 01:03:20 +0000 (17:03 -0800)
commitb1f712b308dcdb1af73e5fcf3d8bf8eb44b36600
tree2e82aa14411e357872d99e4492b6e99705e90714
parent9f79ffc19302253d0b9fe1f5e0cdf1cb04eae78c
hung_task: print message when hung_task_warnings gets down to zero.

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.

Link: https://lkml.kernel.org/r/20230201135416.GA6560@didi-ThinkCentre-M920t-N000
Signed-off-by: fuyuanli <fuyuanli@didiglobal.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/hung_task.c