From: Eric Dumazet Subject: Re: [PATCH] net: remove bogus RCU annotations on socket.wq Date: Mon, 30 Jul 2018 15:23:06 -0700 Message-ID: References: <20180730074507.17037-1-hch@lst.de> <20180730074507.17037-2-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org To: Christoph Hellwig , Eric Dumazet , "Paul E. McKenney" , netdev@vger.kernel.org Return-path: In-Reply-To: <20180730074507.17037-2-hch@lst.de> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 Reviewed-by: Eric Dumazet Thanks.