[Bugfix 5/5] x86/irq: Trivial cleanups for x86 vector allocation code

2015-11-30 Thread Jiang Liu
Trivial cleanups for x86 vector allocation code: 1) reorganize apic_chip_data to optimize for size and cache efficiency 2) avoid redundant calling of irq_to_desc() 3) refine code comments Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/vector.c | 54 ++---

[Bugfix 5/5] x86/irq: Trivial cleanups for x86 vector allocation code

2015-11-30 Thread Jiang Liu
Trivial cleanups for x86 vector allocation code: 1) reorganize apic_chip_data to optimize for size and cache efficiency 2) avoid redundant calling of irq_to_desc() 3) refine code comments Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/vector.c | 54