[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180731005124.GH24813@linux.vnet.ibm.com>
Date: Mon, 30 Jul 2018 17:51:24 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Christoph Hellwig <hch@....de>, Eric Dumazet <edumazet@...gle.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: remove bogus RCU annotations on socket.wq
On Mon, Jul 30, 2018 at 03:23:06PM -0700, Eric Dumazet wrote:
>
>
> On 07/30/2018 12:45 AM, Christoph Hellwig wrote:
> > We never use RCU protection for it, just a lot of cargo-cult
> > rcu_deference_protects calls.
> >
> > Note that we do keep the kfree_rcu call for it, as the references through
> > struct sock are RCU protected and thus might require a grace period before
> > freeing.
> >
> > Signed-off-by: Christoph Hellwig <hch@....de>
>
> Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Acked-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Powered by blists - more mailing lists