From: Eric Dumazet Date: Mon, 25 Oct 2010 23:55:38 +0000 (+0000) Subject: inetpeer: __rcu annotations X-Git-Tag: v2.6.37-rc1~88^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b914c4ea929a4ba6fb97967800dc473c31552b98;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed