[Patch Part2 v4 33/33] x86/irq: Avoid memory allocation in __assign_irq_vector()

2015-01-19 Thread Jiang Liu
Function __assign_irq_vector() is protected by vector_lock, so use a global temporary cpu_mask to avoid allocating/freeing cpu_mask. Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/vector.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git

[Patch Part2 v4 33/33] x86/irq: Avoid memory allocation in __assign_irq_vector()

2015-01-19 Thread Jiang Liu
Function __assign_irq_vector() is protected by vector_lock, so use a global temporary cpu_mask to avoid allocating/freeing cpu_mask. Signed-off-by: Jiang Liu jiang@linux.intel.com --- arch/x86/kernel/apic/vector.c | 33 + 1 file changed, 17 insertions(+), 16