kernel_optimize_test/kernel/irq
Keith Busch b72f8051f3 genirq/affinity: Fix calculating vectors to assign
The vectors_per_node is calculated from the remaining available vectors.
The current vector starts after pre_vectors, so we need to subtract that
from the current to properly account for the number of remaining vectors
to assign.

Fixes: 3412386b53 ("irq/affinity: Fix extra vecs calculation")
Reported-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Link: http://lkml.kernel.org/r/1492645870-13019-1-git-send-email-keith.busch@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-04-20 16:03:09 +02:00
..
affinity.c
autoprobe.c
chip.c
cpuhotplug.c
debug.h
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h
ipi.c
irqdesc.c
irqdomain.c
Kconfig
Makefile
manage.c
migration.c
msi.c
pm.c
proc.c
resend.c
settings.h
spurious.c