kernel_optimize_test/net/rose
Eric Dumazet c6d14c8456 net: Introduce for_each_netdev_rcu() iterator
Adds RCU management to the list of netdevices.

Convert some for_each_netdev() users to RCU version, if
it can avoid read_lock-ing dev_base_lock

Ie:
	read_lock(&dev_base_loack);
	for_each_netdev(net, dev)
		some_action();
	read_unlock(&dev_base_lock);

becomes :

	rcu_read_lock();
	for_each_netdev_rcu(net, dev)
		some_action();
	rcu_read_unlock();


Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04 05:43:23 -08:00
..
af_rose.c net: mark net_proto_ops as const 2009-10-07 01:10:46 -07:00
Makefile
rose_dev.c
rose_in.c
rose_link.c
rose_loopback.c
rose_out.c
rose_route.c net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
rose_subr.c
rose_timer.c
sysctl_net_rose.c