]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Drivers: hv: vmbus: Improve the CPU affiliation for channels
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 5 Aug 2015 07:52:38 +0000 (00:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:41:31 +0000 (11:41 -0700)
commit9f01ec53458d9e9b68f1c555e773b5d1a1f66e94
treece76ed3d4a11ec2035a42a154a735363f642250f
parent3546448338e76a52d4f86eb3680cb2934e22d89b
Drivers: hv: vmbus: Improve the CPU affiliation for channels

The current code tracks the assigned CPUs within a NUMA node in the context of
the primary channel. So, if we have a VM with a single NUMA node with 8 VCPUs, we may
end up unevenly distributing the channel load. Fix the issue by tracking affiliations
globally.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h
include/linux/hyperv.h