[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJnhJCYE62jfpXesQhn-XrZJfPe3DGohH0+x5tpVC68yA@mail.gmail.com>
Date: Tue, 28 Jan 2025 16:10:41 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: John Ousterhout <ouster@...stanford.edu>
Cc: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org, horms@...nel.org,
kuba@...nel.org
Subject: Re: [PATCH net-next v6 07/12] net: homa: create homa_sock.h and homa_sock.c
On Tue, Jan 28, 2025 at 1:41 AM John Ousterhout <ouster@...stanford.edu> wrote:
> > The only caller for this function so far is not under RCU lock: you
> > should see a splat here if you build and run this code with:
> >
> > CONFIG_LOCKDEP=y
> >
> > (which in turn is highly encouraged)
>
> Strange... I have had CONFIG_LOCKDEP enabled for a while now, but for
> some reason I didn't see a flag for that. In any case, all of the
> callers to homa_socktab_next now hold the RCU lock (I fixed this
> during my scan of RCU usage in response to one of your earlier
> messages for this patch series).
The proper config name is CONFIG_PROVE_LOCKING
CONFIG_PROVE_LOCKING=y
While are it, also add
CONFIG_PROVE_RCU_LIST=y
CONFIG_RCU_EXPERT=y
Powered by blists - more mailing lists