Re: [PATCH Repost to netdev] virtio_net: Fix recursive call to cpus_read_lock()

2020-12-23 Thread Jakub Kicinski
On Tue, 22 Dec 2020 21:54:21 -0500 Jeff Dike wrote: > virtnet_set_channels can recursively call cpus_read_lock if CONFIG_XPS > and CONFIG_HOTPLUG are enabled. > > The path is: > virtnet_set_channels - calls get_online_cpus(), which is a trivial > wrapper around cpus_read_lock() > netif_set

[PATCH Repost to netdev] virtio_net: Fix recursive call to cpus_read_lock()

2020-12-22 Thread Jeff Dike
virtnet_set_channels can recursively call cpus_read_lock if CONFIG_XPS and CONFIG_HOTPLUG are enabled. The path is: virtnet_set_channels - calls get_online_cpus(), which is a trivial wrapper around cpus_read_lock() netif_set_real_num_tx_queues netif_reset_xps_queues_gt netif_reset_