From: Octavian Purdila Date: Mon, 13 Dec 2010 12:44:07 +0000 (+0000) Subject: net: factorize sync-rcu call in unregister_netdevice_many X-Git-Tag: v2.6.38-rc1~476^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=443457242beb6716b43db4d62fe148eab5515505;p=pandora-kernel.git net: factorize sync-rcu call in unregister_netdevice_many Add dev_close_many and dev_deactivate_many to factorize another sync-rcu operation on the netdevice unregister path. $ modprobe dummy numdummies=10000 $ ip link set dev dummy* up $ time rmmod dummy Without the patch With the patch real 0m 24.63s real 0m 5.15s user 0m 0.00s user 0m 0.00s sys 0m 6.05s sys 0m 5.14s Signed-off-by: Octavian Purdila Signed-off-by: David S. Miller --- Reading git-diff-tree failed