Home
last modified time | relevance | path

Searched hist:b914c4ea929a4ba6fb97967800dc473c31552b98 (Results 1 – 2 of 2) sorted by relevance

/linux/include/net/
H A Dinetpeer.hdiff b914c4ea929a4ba6fb97967800dc473c31552b98 Tue Oct 26 01:55:38 CEST 2010 Eric Dumazet <eric.dumazet@gmail.com> inetpeer: __rcu annotations

Adds __rcu annotations to inetpeer
(struct inet_peer)->avl_left
(struct inet_peer)->avl_right

This is a tedious cleanup, but removes one smp_wmb() from link_to_pool()
since we now use more self documenting rcu_assign_pointer().

Note the use of RCU_INIT_POINTER() instead of rcu_assign_pointer() in
all cases we dont need a memory barrier.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/net/ipv4/
H A Dinetpeer.cdiff b914c4ea929a4ba6fb97967800dc473c31552b98 Tue Oct 26 01:55:38 CEST 2010 Eric Dumazet <eric.dumazet@gmail.com> inetpeer: __rcu annotations

Adds __rcu annotations to inetpeer
(struct inet_peer)->avl_left
(struct inet_peer)->avl_right

This is a tedious cleanup, but removes one smp_wmb() from link_to_pool()
since we now use more self documenting rcu_assign_pointer().

Note the use of RCU_INIT_POINTER() instead of rcu_assign_pointer() in
all cases we dont need a memory barrier.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>