]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_net: suppress cpu stall when free_unused_bufs
authorWenliang Wang <wangwenliang.1995@bytedance.com>
Thu, 4 May 2023 02:27:06 +0000 (10:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:36:00 +0000 (11:36 +0200)
commitcf1ab4d7dc636d66999e7a6d6d5b71a307e2bbcf
treee3cc07222f30448ea165dda089bdd12890a50806
parentd73190c3b5c19ddd71639f6be4d21e78ba53ae6e
virtio_net: suppress cpu stall when free_unused_bufs

[ Upstream commit f8bb5104394560e29017c25bcade4c6b7aabd108 ]

For multi-queue and large ring-size use case, the following error
occurred when free_unused_bufs:
rcu: INFO: rcu_sched self-detected stall on CPU.

Fixes: 4724d194c2dc ("virtio_net: multiqueue support")
Signed-off-by: Wenliang Wang <wangwenliang.1995@bytedance.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/virtio_net.c