RFC: automatic interrupt affinity for MSI/MSI-X capable devices

Christoph Hellwig hch at lst.de
Fri Apr 15 18:35:44 PDT 2016


This series enhances the irq and PCI code to allow spreading around MSI and
MSI-X vectors so that they have per-cpu affinity if possible, or at least
per-node.  For that it takes the algorithm from blk-mq, moves it to
a common place, and makes it available through a vastly simplified PCI
interrupt allocation API.  It then switches blk-mq to be able to pick up
the queue mapping from the device if available, and demostrates all this
using the NVMe driver.

There is still some work todo, mostly related to handling PCI hotplug,
more details are in the individual patches.




More information about the Linux-nvme mailing list