On 2023-06-16 at 20:22:58 +0800, Herbert Xu wrote: > On Fri, Jun 09, 2023 at 02:04:24PM +0200, Damian Muszynski wrote: > > > > We considered the usage of delayed work when implementing this, but it will > > break functionality. Apart from scheduling the work queue, timer_handler() is > > incrementing a counter which keeps track of how many times the timer was scheduled. > > Please be more specific. I don't understand why the counter can't > be incremented in the delayed work instead of the timer. > We found a solution with which we can be sure about accuracy and replace the timer with delayed work as you suggested. An reworked patch is included with a new version of the heartbeat patchset as the feature development is now finished and this patch is a prerequisite for it. Best Regards, Damian Muszynski