x86/irq: change MSI irq_desc to be more numa aware
authorYinghai Lu <yinghai@kernel.org>
Tue, 28 Apr 2009 01:02:23 +0000 (18:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Apr 2009 10:21:18 +0000 (12:21 +0200)
commitd047f53a2ecce37e3bdf79eac5a326fbaadb3628
tree1097e49b711d07c77071c93d2c3a5f7f63d5cf05
parent024154cfdd802654cb236a18c78b6e37351e2c49
x86/irq: change MSI irq_desc to be more numa aware

Try to get irq_desc on the home node in create_irq_nr().

v2: don't check if we can move it when sparse_irq is not used
v3: use move_irq_des, if that node is not what we want

[ Impact: optimization, make MSI IRQ descriptors more NUMA aware ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <49F6559F.7070005@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c
include/linux/irq.h