diff options
author | Keith Busch <keith.busch@intel.com> | 2017-04-13 13:28:12 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-04-13 23:41:00 +0200 |
commit | 3412386b531244f24a27c79ee003506a52a00848 (patch) | |
tree | b793113aa115cb3779d9447f71f39ca6acb4f518 /drivers/irqchip | |
parent | 7bf8222b9bd0ba867e18b7f4537b61ef2e92eee8 (diff) | |
download | talos-op-linux-3412386b531244f24a27c79ee003506a52a00848.tar.gz talos-op-linux-3412386b531244f24a27c79ee003506a52a00848.zip |
irq/affinity: Fix extra vecs calculation
This fixes a math error calculating the extra_vecs. The error assumed
only 1 cpu per vector, but the value needs to account for the actual
number of cpus per vector in order to get the correct remainder for
extra CPU assignment.
Fixes: 7bf8222b9bd0 ("irq/affinity: Fix CPU spread for unbalanced nodes")
Reported-by: Xiaolong Ye <xiaolong.ye@intel.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Link: http://lkml.kernel.org/r/1492104492-19943-1-git-send-email-keith.busch@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions