diff options
author | Chaitanya Kulkarni <[email protected]> | 2021-02-23 12:47:40 -0800 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-04-02 18:48:24 +0200 |
commit | e9c78c23359fad8c58fa5654efe7320c8128f4af (patch) | |
tree | 0f80a27c31a502757d1e2871c884fa0639953988 /tools/perf/scripts/python/flamegraph.py | |
parent | 80755855f808c27c7154937667436f30e47bc820 (diff) |
nvme-pci: remove the barriers in nvme_irq()
The barriers were added to the nvme_irq() in commit 3a7afd8ee42a
("nvme-pci: remove the CQ lock for interrupt driven queues") to prevent
compiler from doing memory optimization for the variabes that were
protected previously by spinlock in nvme_irq() at completion queue
processing and with queue head check condition.
The variable nvmeq->last_cq_head from those checks was removed in the
commit f6c4d97b0d82 ("nvme/pci: Remove last_cq_head") that was not
allwing poll queues from mistakenly triggering the spurious interrupt
detection.
Remove the barriers which were protecting the updates to the variables.
Reported-by: Heiner Kallweit <[email protected]>
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Heiner Kallweit <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions