Thread (5 messages) 5 messages, 4 authors, 2018-07-31

Re: [PATCH] net: remove bogus RCU annotations on socket.wq

From: Paul E. McKenney <hidden>
Date: 2018-07-31 00:51:30
Also in: lkml

On Mon, Jul 30, 2018 at 03:23:06PM -0700, Eric Dumazet wrote:

On 07/30/2018 12:45 AM, Christoph Hellwig wrote:
quoted
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help