Re: [PATCH] vduse: Use proper spinlock for IRQ injection

2023-07-25 Thread Jason Wang
On Wed, Jul 5, 2023 at 7:45 PM Maxime Coquelin wrote: > > The IRQ injection work used spin_lock_irq() to protect the > scheduling of the softirq, but spin_lock_bh() should be > used. > > With spin_lock_irq(), we noticed delay of more than 6 > seconds between the time a NAPI polling work is schedul

[PATCH] vduse: Use proper spinlock for IRQ injection

2023-07-05 Thread Maxime Coquelin
The IRQ injection work used spin_lock_irq() to protect the scheduling of the softirq, but spin_lock_bh() should be used. With spin_lock_irq(), we noticed delay of more than 6 seconds between the time a NAPI polling work is scheduled and the time it is executed. Fixes: c8a6153b6c59 ("vduse: Introd