Re: [BUG v6.0-rc2] lockdep splat on ct_kernel_enter()

From: Steven Rostedt
Date: Mon Aug 22 2022 - 18:38:34 EST


On Mon, 22 Aug 2022 18:28:50 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 22 Aug 2022 16:44:04 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > Looks like lockdep and the trace_rcu_dyntick() code is getting out of sync
> > with respect to whether or not interrupts are enabled.
>
> This is caused by this commit:
>
> 172114552701 ("rcu/context-tracking: Move RCU-dynticks internal functions
> to context_tracking")
>
> The warning happens with the commit, and does not for the commit just
> before it is applied.
>

Nevermind, I tested the wrong kernel (the grub reboot failed to boot to the
new kernel). But it did give me a different lockdep splat when I tested the
right kernel :-/

I'll investigate some more.

-- Steve