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
..
2009-08-31 15:30:31 +02:00
2009-11-04 05:43:23 -08:00
2008-10-29 12:52:50 -07:00
2009-11-02 03:42:41 -08:00
2009-10-18 21:31:59 -07:00
2009-11-04 05:43:23 -08:00
2009-11-02 03:42:41 -08:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2009-05-20 17:26:23 -07:00
2009-09-14 17:03:05 -07:00
2009-10-20 18:55:45 -07:00
2009-10-18 18:52:53 -07:00
2009-07-30 18:52:15 -07:00
2009-02-06 00:49:55 -08:00
2009-09-14 17:03:05 -07:00
2009-09-02 18:05:33 -07:00
2009-11-02 03:42:40 -08:00
2009-10-29 01:13:53 -07:00
2009-09-14 17:03:05 -07:00
2009-10-27 01:03:26 -07:00
2009-10-07 14:50:30 -07:00
2008-04-05 22:33:38 +09:00
2009-09-15 02:37:40 -07:00
2009-06-23 04:31:07 -07:00
2009-10-07 01:10:45 -07:00
2009-06-03 02:51:04 -07:00
2009-08-05 10:42:58 -07:00
2009-09-14 17:03:05 -07:00
2009-10-18 18:52:54 -07:00
2009-09-14 17:03:05 -07:00
2009-10-07 13:58:01 -07:00
2009-10-29 01:13:51 -07:00
2009-10-29 01:28:41 -07:00
2009-08-02 12:54:30 -07:00
2009-10-29 01:28:41 -07:00
2009-09-14 17:03:05 -07:00
2009-09-30 16:12:20 -07:00
2009-10-18 18:52:54 -07:00
2009-09-14 17:03:05 -07:00
2008-11-25 17:59:52 -08:00
2008-08-06 02:40:25 -07:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-08-04 20:32:16 -07:00
2009-02-21 23:37:10 -08:00
2009-10-24 06:07:57 -07:00