From: David Miller Subject: Re: [PATCH] net: remove bogus RCU annotations on socket.wq Date: Tue, 31 Jul 2018 12:40:53 -0700 (PDT) Message-ID: <20180731.124053.2701966560858042.davem@davemloft.net> References: <20180730074507.17037-1-hch@lst.de> <20180730074507.17037-2-hch@lst.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: edumazet@google.com, paulmck@linux.vnet.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: hch@lst.de Return-path: In-Reply-To: <20180730074507.17037-2-hch@lst.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Christoph Hellwig Date: Mon, 30 Jul 2018 09:45:07 +0200 > 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 Applied to net-next, thanks.