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-09-23 22:26:32 +09:30
2009-05-25 01:53:53 -07:00
2009-10-29 23:43:00 -07:00
2009-10-07 01:10:46 -07:00
2009-10-12 13:26:31 -07:00
2009-10-29 23:06:39 -07:00
2009-10-27 01:03:26 -07:00
2009-10-29 01:13:48 -07:00
2009-10-29 01:39:54 -07:00
2009-11-04 05:43:23 -08:00
2009-09-26 20:16:15 -07:00
2009-10-20 18:55:46 -07:00
2009-11-04 05:43:23 -08:00
2009-09-01 01:13:07 -07:00
2009-10-07 14:43:04 -07:00
2009-05-25 01:53:53 -07:00
2009-10-14 20:40:11 -07:00
2009-11-04 05:43:23 -08:00
2009-11-04 05:43:23 -08:00
2009-10-07 01:10:46 -07:00
2009-10-07 01:10:46 -07:00
2009-10-17 23:57:20 -07:00
2009-10-12 13:26:31 -07:00
2009-07-05 19:15:35 -07:00
2009-10-07 01:10:46 -07:00
2009-10-29 21:28:59 -07:00
2009-10-18 18:52:53 -07:00
2009-07-30 19:22:43 -07:00
2009-10-17 23:57:26 -07:00
2009-11-04 05:43:23 -08:00
2009-11-02 03:41:29 -08:00
2009-11-04 05:06:24 -08:00
2009-10-30 15:06:39 -07:00
2009-10-04 15:05:10 -07:00
2009-11-04 05:43:23 -08:00
2009-10-12 13:26:31 -07:00
2009-11-04 05:23:31 -08:00
2009-11-04 05:43:23 -08:00
2009-10-18 18:52:53 -07:00
2009-09-30 16:12:20 -07:00
2009-10-27 01:03:26 -07:00
2009-07-12 12:22:34 -07:00
2009-06-11 11:12:48 -07:00
2009-10-29 21:28:59 -07:00
2009-10-29 01:39:53 -07:00
2009-10-18 21:32:01 -07:00
2009-10-29 01:39:54 -07:00
2009-07-15 08:53:39 -07:00
2009-07-12 20:11:14 -07:00
2009-10-12 23:40:10 -07:00
2009-03-16 16:23:30 +01:00