Re: IRQ affinities

From: Max Krasnyanskiy
Date: Wed May 21 2008 - 12:18:24 EST


Arjan van de Ven wrote:
On Tue, 20 May 2008 18:14:58 -0700
Max Krasnyanskiy <maxk@xxxxxxxxxxx

For the IRQs specifically all I need is to be able to tell the kernel
to not route IRQs to certain CPUs. That's mostly works already via /proc/irq/N/smp_affinity, the problem is dynamically allocated irqs
because /proc/irq/N directory does not exist until those IRQs are
allocated/enabled.
\\

why don't you tell irqbalance instead? it'll make sure the irq stays
out of the wind...


That will be too late. By the time irqbalance sees that IRQ it may have already fired (possibly several times) on the "wrong" processor.

Max

--
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/