diff options
author | Maxime Coquelin <[email protected]> | 2023-07-05 13:45:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2023-08-10 15:24:28 -0400 |
commit | 7ca26efb09a1543fddb29308ea3b63b66cb5d3ee (patch) | |
tree | 4a74cc4ce6384550881ba68c3e93aa0e9c27d2a4 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f46c1e1620c6bbc9aad5693082efd1b80822e97c (diff) |
vduse: Use proper spinlock for IRQ injection
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: Introduce VDUSE - vDPA Device in Userspace")
Cc: [email protected]
Suggested-by: Jason Wang <[email protected]>
Signed-off-by: Maxime Coquelin <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Xie Yongji <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions