x86/irq: change irq_desc_alloc() to take node instead of cpu
This simplifies the node awareness of the code. All our allocators only deal with a NUMA node ID locality not with CPU ids anyway - so there's no need to maintain (and transform) a CPU id all across the IRq layer. v2: keep move_irq_desc related [ Impact: cleanup, prepare IRQ code to be 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> Cc: Jeremy Fitzhardinge <jeremy@goop.org> LKML-Reference: <49F65536.2020300@kernel.org> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/kernel/apic/io_apic.c 26 additions, 32 deletionsarch/x86/kernel/apic/io_apic.c
- arch/x86/lguest/boot.c 1 addition, 1 deletionarch/x86/lguest/boot.c
- drivers/pci/intr_remapping.c 6 additions, 9 deletionsdrivers/pci/intr_remapping.c
- drivers/xen/events.c 1 addition, 1 deletiondrivers/xen/events.c
- include/linux/interrupt.h 1 addition, 1 deletioninclude/linux/interrupt.h
- include/linux/irq.h 6 additions, 10 deletionsinclude/linux/irq.h
- kernel/irq/handle.c 11 additions, 17 deletionskernel/irq/handle.c
- kernel/irq/internals.h 1 addition, 1 deletionkernel/irq/internals.h
- kernel/irq/numa_migrate.c 12 additions, 24 deletionskernel/irq/numa_migrate.c
- kernel/softirq.c 1 addition, 1 deletionkernel/softirq.c
Loading
Please register or sign in to comment