Commit 58225e65 authored by Wenliang Wang's avatar Wenliang Wang Committed by sanglipeng
Browse files

virtio_net: suppress cpu stall when free_unused_bufs

stable inclusion
from stable-v5.10.180
commit b6b15de5129e9a02c59640cd43fa1955036ed674
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b6b15de5129e9a02c59640cd43fa1955036ed674



--------------------------------

[ Upstream commit f8bb5104 ]

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: 986a4f4d ("virtio_net: multiqueue support")
Signed-off-by: default avatarWenliang Wang <wangwenliang.1995@bytedance.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6a5f4bf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment