[PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Christoph Hellwig
Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes more) at the beginning or end are used for low-performance admin or

[PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Christoph Hellwig
Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes more) at the beginning or end are used for low-performance admin or

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Christoph Hellwig
On Tue, Nov 08, 2016 at 03:25:27PM -0600, Bjorn Helgaas wrote: > What tree would you prefer? I vote for the IRQ tree since that seems > to be where the interesting parts are, and I think I acked all the PCI > bits. Yes, that would be my preference to. > > > + * struct irq_affinity -

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Christoph Hellwig
On Tue, Nov 08, 2016 at 03:25:27PM -0600, Bjorn Helgaas wrote: > What tree would you prefer? I vote for the IRQ tree since that seems > to be where the interesting parts are, and I think I acked all the PCI > bits. Yes, that would be my preference to. > > > + * struct irq_affinity -

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Bjorn Helgaas
On Mon, Nov 07, 2016 at 10:47:36AM -0800, Christoph Hellwig wrote: > From: Christogh Hellwig > > Some drivers (various network and RDMA adapter for example) have a MSI-X > vector layout where most of the vectors are used for I/O queues and should > have CPU affinity assigned to

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Bjorn Helgaas
On Mon, Nov 07, 2016 at 10:47:36AM -0800, Christoph Hellwig wrote: > From: Christogh Hellwig > > Some drivers (various network and RDMA adapter for example) have a MSI-X > vector layout where most of the vectors are used for I/O queues and should > have CPU affinity assigned to them, but some

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Johannes Thumshirn
On Mon, Nov 07, 2016 at 10:47:36AM -0800, Christoph Hellwig wrote: > From: Christogh Hellwig > > Some drivers (various network and RDMA adapter for example) have a MSI-X > vector layout where most of the vectors are used for I/O queues and should > have CPU affinity assigned to

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Johannes Thumshirn
On Mon, Nov 07, 2016 at 10:47:36AM -0800, Christoph Hellwig wrote: > From: Christogh Hellwig > > Some drivers (various network and RDMA adapter for example) have a MSI-X > vector layout where most of the vectors are used for I/O queues and should > have CPU affinity assigned to them, but some

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Hannes Reinecke
On 11/07/2016 07:47 PM, Christoph Hellwig wrote: From: Christogh Hellwig Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but

Re: [PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread Hannes Reinecke
On 11/07/2016 07:47 PM, Christoph Hellwig wrote: From: Christogh Hellwig Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes

[PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-07 Thread Christoph Hellwig
From: Christogh Hellwig Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes more) at the beginning or end are used

[PATCH 1/7] genirq/affinity: Introduce struct irq_affinity

2016-11-07 Thread Christoph Hellwig
From: Christogh Hellwig Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes more) at the beginning or end are used for