diff options
author | Yinghai Lu <yinghai@kernel.org> | 2008-12-11 03:15:01 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 18:14:01 -0500 |
commit | 48a1b10aff588833b73994704c47bbd0deb73e9c (patch) | |
tree | deb3c7b486346c3afa54014b3c3516344c2708f2 /arch/x86/Kconfig | |
parent | 13bd41bc227a48d6cf8992a3286bf6eba3c71a0c (diff) |
x86, sparseirq: move irq_desc according to smp_affinity, v7
Impact: improve NUMA handling by migrating irq_desc on smp_affinity changes
if CONFIG_NUMA_MIGRATE_IRQ_DESC is set:
- make irq_desc to go with affinity aka irq_desc moving etc
- call move_irq_desc in irq_complete_move()
- legacy irq_desc is not moved, because they are allocated via static array
for logical apic mode, need to add move_desc_in_progress_in_same_domain,
otherwise it will not be moved ==> also could need two phases to get
irq_desc moved.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 8943c13502c6..29073532f94c 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -248,6 +248,15 @@ config SPARSE_IRQ | |||
248 | 248 | ||
249 | If you don't know what to do here, say Y. | 249 | If you don't know what to do here, say Y. |
250 | 250 | ||
251 | config NUMA_MIGRATE_IRQ_DESC | ||
252 | bool "Move irq desc when changing irq smp_affinity" | ||
253 | depends on SPARSE_IRQ && SMP | ||
254 | default n | ||
255 | help | ||
256 | This enables moving irq_desc to cpu/node that irq will use handled. | ||
257 | |||
258 | If you don't know what to do here, say N. | ||
259 | |||
251 | config X86_FIND_SMP_CONFIG | 260 | config X86_FIND_SMP_CONFIG |
252 | def_bool y | 261 | def_bool y |
253 | depends on X86_MPPARSE || X86_VOYAGER | 262 | depends on X86_MPPARSE || X86_VOYAGER |