Re: [PATCH net-next 2/2] net: Drop NETDEV_UNREGISTER_FINAL

2018-03-23 Thread Jason Gunthorpe
On Fri, Mar 23, 2018 at 12:39:33PM +0300, Kirill Tkhai wrote: > Last user is gone after bdf5bd7f2132 "rds: tcp: remove > register_netdevice_notifier infrastructure.", so we can > remove this netdevice command. This allows to delete > rtnl_lock() in netdev_run_todo(), which is hot path for > net nam

[PATCH net-next 2/2] net: Drop NETDEV_UNREGISTER_FINAL

2018-03-23 Thread Kirill Tkhai
Last user is gone after bdf5bd7f2132 "rds: tcp: remove register_netdevice_notifier infrastructure.", so we can remove this netdevice command. This allows to delete rtnl_lock() in netdev_run_todo(), which is hot path for net namespace unregistration. dev_change_net_namespace() and netdev_wait_allre