Re: [RFC/PATCH] notify user-level IRQ balancer when kernel assignsIRQ affinity

From: Thomas Gleixner
Date: Thu Sep 09 2010 - 04:55:09 EST


On Fri, 3 Sep 2010, Arthur Kepner wrote:

It might be helpful to cc the maintainer of kernel/irq on patches
which affect that area.

>
> We've run into situations where a CPU runs out of interrupt
> vectors, because all the interrupts are getting the default
> affinity (and the interrupt balancer hasn't yet run).
>
> The following emits a netlink message whenever an interrupt
> is given a default CPU affinity. A user-level IRQ balancer
> can use those messages to decide if, and how to reassign
> affinities. This should allow us to avoid running out of
> vectors on any particular CPU (or at least make it far less
> likely).

Errm. If the irq balancer has not been run, then why should some new
irq balancer be up and running at this time. In the worst case you
need to sort that out during boot _before_ you even hit userspace.

Further this adds just redundant information as user space is already
notified about a new device being setup via udev, so what's the point
of adding another notification mechanism.

Thanks,

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