I dug deep into the softlockup watchdog history when time permitted this year. And reworked the patchset that fixed timestamps and cleaned up the code[1].
I split it into very small steps and did even more code clean up. The result looks quite strightforward and I am pretty confident with the changes. [*] v1: https://lore.kernel.org/r/[email protected] Petr Mladek (7): watchdog: Rename __touch_watchdog() to a better descriptive name watchdog: Explicitly update timestamp when reporting softlockup watchdog/softlockup: Report the overall time of softlockups watchdog/softlockup: Remove logic that tried to prevent repeated reports watchdog: Fix barriers when printing backtraces from all CPUs watchdog: Cleanup handling of false positives Test softlockup fs/proc/consoles.c | 5 +++ fs/proc/version.c | 7 ++++ kernel/watchdog.c | 97 ++++++++++++++++++++++++++-------------------- 3 files changed, 66 insertions(+), 43 deletions(-) -- 2.26.2

