Thread (3 messages) flat view 3 messages, 3 authors, 2011-11-29

Re: |PATCH net-next] net: treewide use of RCU_INIT_POINTER

From: David Miller <davem@davemloft.net>
Date: 2011-11-24 00:08:22

From: Eric Dumazet <redacted>
Date: Wed, 23 Nov 2011 18:09:32 +0100
rcu_assign_pointer(ptr, NULL) can be safely replaced by
RCU_INIT_POINTER(ptr, NULL)

(old rcu_assign_pointer() macro was testing the NULL value and could
omit the smp_wmb(), but this had to be removed because of compiler
warnings)

Signed-off-by: Eric Dumazet <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help