diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-04-30 10:17:50 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-01 19:01:12 +0200 |
commit | 15e957d08dd4a841359cfec59ecb74041e0097aa (patch) | |
tree | e18a8b70751c552ba2bd7248660f137a735938ea /kernel/irq/Makefile | |
parent | irq: make ht irq_desc more numa aware (diff) | |
download | linux-15e957d08dd4a841359cfec59ecb74041e0097aa.tar.xz linux-15e957d08dd4a841359cfec59ecb74041e0097aa.zip |
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 'kernel/irq/Makefile')
-rw-r--r-- | kernel/irq/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/Makefile b/kernel/irq/Makefile index 2f065277f8ee..7d047808419d 100644 --- a/kernel/irq/Makefile +++ b/kernel/irq/Makefile @@ -3,5 +3,5 @@ obj-y := handle.o manage.o spurious.o resend.o chip.o devres.o obj-$(CONFIG_GENERIC_IRQ_PROBE) += autoprobe.o obj-$(CONFIG_PROC_FS) += proc.o obj-$(CONFIG_GENERIC_PENDING_IRQ) += migration.o -obj-$(CONFIG_SPARSE_IRQ) += numa_migrate.o +obj-$(CONFIG_NUMA_IRQ_DESC) += numa_migrate.o obj-$(CONFIG_PM_SLEEP) += pm.o |