Re: Notes from LPC PCI/MSI BoF session

From: David Miller
Date: Wed Sep 24 2008 - 02:47:38 EST


From: Grant Grundler <grundler@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 23:51:16 -0600

> Dave Miller (and others) have clearly stated they don't want to see
> CPU affinity handled in the device drivers and want irqbalanced
> to handle interrupt distribution. The problem with this is irqbalanced
> needs to know how each device driver is binding multiple MSI to it's queues.
> Some devices could prefer several MSI go to the same processor and
> others want each MSI bound to a different "node" (NUMA).
>
> Without any additional API, this means the device driver has to
> update irqbalanced for each device it supports. We thought pci_ids.h
> was a PITA...that would be trivial compared to maintaining this.

We just need a consistent naming scheme for the IRQs to disseminate
this information to irqbalanced, then there is one change to irqbalanced
rather than one for each and every driver as you seem to suggest.

Anything that's complicated and takes more than a paragraph or two
to describe is not what we want.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/