summaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2017-04-20 01:51:10 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-04-20 16:03:09 +0200
commitb72f8051f34b8164a62391e3676edc34523c5952 (patch)
tree3b3bceecb9f7936319f0266740e92a8e89cb7277 /mm/ksm.c
parentMerge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-b72f8051f34b8164a62391e3676edc34523c5952.tar.xz
linux-b72f8051f34b8164a62391e3676edc34523c5952.zip
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: 3412386b531 ("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>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions