Skip to content

RFC nvme-pci: dynamic interrupt moderation

Keith Busch linux-nvme linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3genirq: Add disable_irq_nowait()include/linux/interrupt.h include/linux/irq.h kernel/irq/chip.c +2 more+58 -00 replies
2/3PCI/MSI: Implement irq_mask_nowait() for MSI-xdrivers/irqchip/irq-msi-lib.c drivers/pci/msi/irqdomain.c drivers/pci/msi/msi.h+14 -14 replies
3/3nvme-pci: hybrid irq+pollingdrivers/nvme/host/Kconfig drivers/nvme/host/pci.c drivers/nvme/host/trace.c +1 more+626 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] nvme-pci: dynamic interrupt moderation

From: Keith Busch <[email protected]>

Just adding another nvme hybrid interrupt and polling mechanism to the lists. There's some recent alternatives mentioned in the links below, but I'm trying one last time to leverage the DIM framework. Performance wise, this at least doesn't seem any worse than anything else proposed, though I've only been able to test on mid-level hardware so far.

This one here as some irq prep patches that help some when transitioning from irq to polling for MSI-x enabled NVMe completions. These should be generally applicable, so isn't necessarily tied to how it gets used in the last patch if someone else finds it useful too.

Links:

[1] https://lore.kernel.org/linux-nvme/[email protected]/

[2] https://lore.kernel.org/linux-nvme/[email protected]/

Keith Busch (3):
genirq: Add disable_irq_nowait()
PCI/MSI: Implement irq_mask_nowait() for MSI-X
nvme-pci: hybrid irq+polling

 drivers/irqchip/irq-msi-lib.c |   1 +
 drivers/nvme/host/Kconfig     |   2 +
 drivers/nvme/host/pci.c       | 624 ++++++++++++++++++++++++++++++++--
 drivers/nvme/host/trace.c     |   1 +
 drivers/nvme/host/trace.h     |  26 ++
 drivers/pci/msi/irqdomain.c   |   6 +
 drivers/pci/msi/msi.h         |   8 +-
 include/linux/interrupt.h     |   1 +
 include/linux/irq.h           |   4 +
 kernel/irq/chip.c             |  31 ++
 kernel/irq/internals.h        |   1 +
 kernel/irq/manage.c           |  21 ++
 12 files changed, 698 insertions(+), 28 deletions(-)
Signature · 1 line
2.52.0