lkml.org 
[lkml]   [2018]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@lst.de>
>
> Reviewed-by: Eric Dumazet <edumazet@google.com>

Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

\
 
 \ /
  Last update: 2018-07-31 02:52    [W:1.209 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site