Re: [PATCH 1/4] watchdog/hardlockup: Always update saved interrupts during check
From: Doug Anderson
Date: Fri Feb 13 2026 - 11:30:16 EST
Hi,
On Thu, Feb 12, 2026 at 1:12 PM Mayank Rungta via B4 Relay
<devnull+mrungta.google.com@xxxxxxxxxx> wrote:
>
> From: Mayank Rungta <mrungta@xxxxxxxxxx>
>
> Currently, arch_touch_nmi_watchdog() causes an early return that
> skips updating hrtimer_interrupts_saved. This leads to stale
> comparisons and delayed lockup detection.
>
> Update the saved interrupt count before checking the touched flag
> to ensure detection timeliness.
>
> Signed-off-by: Mayank Rungta <mrungta@xxxxxxxxxx>
> ---
> kernel/watchdog.c | 23 ++++++++++++++++-------
> 1 file changed, 16 insertions(+), 7 deletions(-)
I pre-reviewed this patch series for Mayank, so unsurprisingly I have
no comments. ;-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>