X86/irq: failed to assign vectors from CPU0

From: Zhangbo (Oscar)
Date: Thu Jun 26 2014 - 02:14:06 EST


Msi or Msi-x interrupts assign vectors from a CPU while the number of CUPs is more than 8. __assign_irq_vector() is responsible for assigning vectors from low-numbered CPUs by default.
If there are a lot of Msi or Msi-x interrupts, it will cause the low-numbered CPUs out of vectors, so the subsequent interrupts will be failed to allocate vectors from these CPUs.
What is the consideration of preferentially assigning vectors from low-numbered CPUs? How about assigning vectors from the CPUs which have the maximum number of unused vectors?
Thank you in advance.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/