Re: [PATCH net 09/10] mptcp: pm: avoid sleeping while holding rcu_read_lock

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2026-06-01 06:58:15
Also in
linux-kselftest, linux-rt-devel, lkml, mptcp, stable
Reply to
Matthieu Baerts (NGI0), 2026-06-01
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
Thread (13 messages) 13 messages, 2 authors, last reply 2026-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help