]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Drivers: hv: vmbus: Implement NUMA aware CPU affinity for channels
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 31 May 2015 06:37:48 +0000 (23:37 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:28:50 +0000 (18:28 -0800)
commitb76e6093700a6814f789ad4d93949f4991897dd9
tree41184e21a32567f1abf7dffe3d2103e36f6538be
parent1f93391d7f2f88d06f0f4d22da4d8a8ddf638d7c
Drivers: hv: vmbus: Implement NUMA aware CPU affinity for channels

Channels/sub-channels can be affinitized to VCPUs in the guest. Implement
this affinity in a way that is NUMA aware. The current protocol distributed
the primary channels uniformly across all available CPUs. The new protocol
is NUMA aware: primary channels are distributed across the available NUMA
nodes while the sub-channels within a primary channel are distributed amongst
CPUs within the NUMA node assigned to the primary channel.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 1f656ff3fdddc2f59649cc84b633b799908f1f7b)

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