Re: [PATCH net 09/10] mptcp: pm: avoid sleeping while holding rcu_read_lock
From: Sebastian Andrzej Siewior
Date: Mon Jun 01 2026 - 02:59:43 EST
On 2026-06-01 13:10:05 [+1000], Matthieu Baerts (NGI0) wrote:
> sk_stop_timer_sync() calls del_timer_sync(), which spin-waits for the
There is no del_timer_sync()
> timer callback to complete on non-RT kernels. But on PREEMPT_RT, it can
> sleep. Sleeping inside an RCU read-side critical section might trigger a
> lockdep splat.
It can not sleep. timer_delete_sync() does not sleep. It can block on
spinlock_t and schedule but this is okay within a RCU read section.
Do you have a report for this?
Sebastian