From: Eric Dumazet Date: Fri, 30 Oct 2009 07:11:27 +0000 (+0000) Subject: net: Introduce dev_get_by_name_rcu() X-Git-Tag: v2.6.33-rc1~388^2~568 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c9528bab94cc052d00ce241b8e85f5d71e45f0;p=pandora-kernel.git net: Introduce dev_get_by_name_rcu() Some workloads hit dev_base_lock rwlock pretty hard. We can use RCU lookups to avoid touching this rwlock (and avoid touching netdevice refcount) netdevices are already freed after a RCU grace period, so this patch adds no penalty at device dismantle time. However, it adds a synchronize_rcu() call in dev_change_name() Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed