On 2020/11/24 下午10:31, Steven Rostedt wrote:
On Tue, 24 Nov 2020 11:22:03 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:
Btw, have a quick search, there are several other drivers that uses tx
lock in the tx NAPI.
tx NAPI is not the issue. The issue is that write_msg() (in netconsole.c)
calls this polling logic with the target_list_lock held.
But in the tx NAPI poll it tries to lock TX instead of using trylock.
Are those other drivers called by netconsole? If not, then this is unique
to virtio-net.
I think the answer is yes, since net console is not disabled in the codes.
Thanks
-- Steve
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization