Re: [PATCH net-next V2 0/2] virtio-net: don't busy poll for cvq command

From: Jakub Kicinski
Date: Thu Apr 13 2023 - 10:04:22 EST


On Thu, 13 Apr 2023 14:40:25 +0800 Jason Wang wrote:
> The code used to busy poll for cvq command which turns out to have
> several side effects:
>
> 1) infinite poll for buggy devices
> 2) bad interaction with scheduler
>
> So this series tries to use sleep instead of busy polling. In this
> version, I take a step back: the hardening part is not implemented and
> leave for future investigation. We use to aggree to use interruptible
> sleep but it doesn't work for a general workqueue.

CC: netdev missing?