]> git.baikalelectronics.ru Git - kernel.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)
commitc51a6d75ef65741cd90c990d8210039d9ea4c52e
tree253793b9f94721554c3aa2b286ca27052b3390e8
parentda69cb6ade273d285cf6b9690410c4577000c828
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