From: Eric Dumazet Date: Mon, 19 Oct 2009 19:18:49 +0000 (+0000) Subject: net: Introduce dev_get_by_index_rcu() X-Git-Tag: v2.6.33-rc1~388^2~600 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb699dfd426a189fe33b91586c15176a75c8aed0;p=pandora-kernel.git net: Introduce dev_get_by_index_rcu() Some workloads hit dev_base_lock rwlock pretty hard. We can use RCU lookups to avoid touching this rwlock. netdevices are already freed after a RCU grace period, so this patch adds no penalty at device dismantle time. dev_ifname() converted to dev_get_by_index_rcu() Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed