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

From: Jason Wang
Date: Fri Apr 14 2023 - 00:55:07 EST


On Thu, Apr 13, 2023 at 10:04 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> 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?

My bad. Will cc netdev for any discussion.

Thanks

>