From: Eric Dumazet Date: Thu, 7 Oct 2010 00:49:21 +0000 (-0700) Subject: neigh: RCU conversion of struct neighbour X-Git-Tag: v2.6.37-rc1~147^2~204 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=767e97e1e0db0d0f3152cd2f3bd3403596aedbad;p=pandora-kernel.git neigh: RCU conversion of struct neighbour This is the second step for neighbour RCU conversion. (first was commit d6bf7817 : RCU conversion of neigh hash table) neigh_lookup() becomes lockless, but still take a reference on found neighbour. (no more read_lock()/read_unlock() on tbl->lock) struct neighbour gets an additional rcu_head field and is freed after an RCU grace period. Future work would need to eventually not take a reference on neighbour for temporary dst (DST_NOCACHE), but this would need dst->_neighbour to use a noref bit like we did for skb->_dst. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed