Re: netconsole deadlock with virtnet
From: Jason Wang <jasowang@redhat.com>
Date: 2020-11-25 06:20:36
Also in:
virtualization
From: Jason Wang <jasowang@redhat.com>
Date: 2020-11-25 06:20:36
Also in:
virtualization
On 2020/11/24 下午10:31, Steven Rostedt wrote:
On Tue, 24 Nov 2020 11:22:03 +0800 Jason Wang [off-list ref] wrote:quoted
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