Re: [PATCH V4 2/2] rcu: Update jiffies in rcu_cpu_stall_reset()

From: Thomas Gleixner
Date: Wed Aug 23 2023 - 17:42:46 EST


On Wed, Aug 16 2023 at 23:56, Alan Huang wrote:
>> If do_update_jiffies_64() cannot be used in NMI context, can we
>
> What about updating jiffies in dbg_touch_watchdogs or adding a wrapper which updates
> both jiffies and jiffies_stall?

What makes dbg_touch_watchdogs() any different?

KGDB can pretty much have a breakpoint everywhere and therefore also
within the jiffies lock held region.

Thanks,

tglx