hammering timers cause soft lockup?

From: Alexander Aring
Date: Wed Mar 27 2024 - 12:01:41 EST


Hi,

I am currently trying to debug a timer issue on v6.9-rc1 and was able
to write a small reproducer module [0]. If this module gets loaded I
run into a soft lockup e.g. [1]. As far I see several concurrent
timers are getting soft lockups.

As far as I know, I am not doing anything wrong in my timer module
[2]. Please somebody correct me if I am wrong. It does not do much,
except hammering timers. I tried a longterm kernel v6.6.23 and still
have issues.

I appreciate any help somebody can provide.

Thanks.

- Alex

[0] https://gitlab.com/netcoder/timer_softlock
[1] https://gitlab.com/netcoder/timer_softlock/-/blob/main/calltrace_softlockup
[2] https://gitlab.com/netcoder/timer_softlock/-/blob/main/timer_softlock.c