diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-04-30 04:17:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-01 13:01:12 -0400 |
commit | 15e957d08dd4a841359cfec59ecb74041e0097aa (patch) | |
tree | e18a8b70751c552ba2bd7248660f137a735938ea /arch/x86/Kconfig | |
parent | 56b581ea9591b5767b1e0204c6a06c7d0c49396e (diff) |
x86/irq: use move_irq_desc() in create_irq_nr()
move_irq_desc() will try to move irq_desc to the home node if
the allocated one is not correct, in create_irq_nr().
( This can happen on devices that are on different nodes that
are using MSI, when drivers are loaded and unloaded randomly. )
v2: fix non-smp build
v3: add NUMA_IRQ_DESC to eliminate #ifdefs
[ Impact: improve irq descriptor locality on NUMA systems ]
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: <49F95EAE.2050903@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e1b2543f8ed3..674e21e9f0a0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -274,6 +274,10 @@ config SPARSE_IRQ | |||
274 | 274 | ||
275 | If you don't know what to do here, say N. | 275 | If you don't know what to do here, say N. |
276 | 276 | ||
277 | config NUMA_IRQ_DESC | ||
278 | def_bool y | ||
279 | depends on SPARSE_IRQ && NUMA | ||
280 | |||
277 | config X86_MPPARSE | 281 | config X86_MPPARSE |
278 | bool "Enable MPS table" if ACPI | 282 | bool "Enable MPS table" if ACPI |
279 | default y | 283 | default y |