]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:29:04 +0000 (18:29 -0800)
commit87cc7448efb8214799197ad842d683bfaf49558a
tree20a6a190b58d09e628e56c3c099e13aba6d1e214
parentc96dc07c8631706d7219c5484ef5464945a561b1
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>
(cherry picked from commit 9f01ec53458d9e9b68f1c555e773b5d1a1f66e94)

Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/hv/channel_mgmt.c
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h
include/linux/hyperv.h