Re: [PATCH v4][RESEND x4] lockdep: fix deadlock issue between lockdep and rcu
From: Boqun Feng
Date: Sat Aug 03 2024 - 11:21:10 EST
On Fri, Aug 02, 2024 at 05:16:19PM +0200, Peter Zijlstra wrote:
> On Wed, Jun 26, 2024 at 03:15:14PM -0700, Boqun Feng wrote:
> > On Tue, Jun 25, 2024 at 07:38:15AM -0700, Paul E. McKenney wrote:
> > > On Thu, Jun 20, 2024 at 10:54:34PM +0000, Carlos Llamas wrote:
> > > > From: Zhiguo Niu <zhiguo.niu@xxxxxxxxxx>
> > > >
> > > > There is a deadlock scenario between lockdep and rcu when
> > > > rcu nocb feature is enabled, just as following call stack:
> > >
> > > I have pulled this into -rcu for further review and testing.
> > >
> > > If someone else (for example, the lockdep folks) would like to take this:
> > >
> > > Acked-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> > >
> >
> > FWIW, I add this patch and another one [1] to my tree:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git lockdep
> >
> > (based on today's tip/locking/core)
> >
> > I figured I have time to handle lockdep-only patches, which shouldn't
> > be a lot. So Ingo & Peter, I'm happy to help. If you need me to pick up
> > lockdep patches and send a PR against tip/master or tip/locking/core,
> > please let me know.
>
> Sorry, I've been hopelessly behind on everything. Yes it would be nice
> if you could help vacuum up some of the lockdep patches.
>
Glad I can help! I will send a PR to tip tree between rc2 and rc3.
Regards,
Boqun
>