Re: [WARNING] RCU stall in sock_def_readable()
From: Steven Rostedt
Date: Sat Apr 18 2026 - 19:26:45 EST
On Sat, 18 Apr 2026 16:01:49 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
> You know, with LAZY_PREEMPT, you are supposed to get TREE_RCU, but not
> PREEMPT_RCU. And that would avoid scheduling out when rcu_read_lock()
> is held.
>
> Ah, but are you building with PREEMPT_DYNAMIC? That would do it.
Yes, PREEMPT_DYNAMIC is set. I guess I can test it without it set and
see if the problem goes away. If that's the case, I'll just disable
that for this one test that keeps failing due to that warning.
-- Steve