diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-26 01:55:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-27 20:37:33 +0200 |
commit | b914c4ea929a4ba6fb97967800dc473c31552b98 (patch) | |
tree | 630f7c81d82e580e5aa5164c0e4cf1d0dadca3ba /net/rfkill | |
parent | fib_rules: __rcu annotates ctarget (diff) | |
download | linux-b914c4ea929a4ba6fb97967800dc473c31552b98.tar.xz linux-b914c4ea929a4ba6fb97967800dc473c31552b98.zip |
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>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions