]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
genirq: Respect NUMA node affinity in setup_irq_irq affinity()
authorPrarit Bhargava <prarit@redhat.com>
Mon, 26 Mar 2012 19:02:18 +0000 (15:02 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Mar 2012 09:31:53 +0000 (11:31 +0200)
commit241fc640be783f903e74b6d9c68481c01873f758
tree253793b9f94721554c3aa2b286ca27052b3390e8
parentf3f79e38d51f8a419f4c484a86ece4baea35b993
genirq: Respect NUMA node affinity in setup_irq_irq affinity()

We respect node affinity of devices already in the irq descriptor
allocation, but we ignore it for the initial interrupt affinity
setup, so the interrupt might be routed to a different node.

Restrict the default affinity mask to the node on which the irq
descriptor is allocated.

[ tglx: Massaged changelog ]

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/1332788538-17425-1-git-send-email-prarit@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c