summaryrefslogtreecommitdiff
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2015-08-05 10:52:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 21:44:28 +0300
commit3b71107d73b16074afa7658f3f0fcf837aabfe24 (patch)
treed2a7a477f04342c280ec6b430828f62dfd796e2e /include/linux/hyperv.h
parent9f01ec53458d9e9b68f1c555e773b5d1a1f66e94 (diff)
downloadlinux-3b71107d73b16074afa7658f3f0fcf837aabfe24.tar.xz
Drivers: hv: vmbus: Further improve CPU affiliation logic
Keep track of CPU affiliations of sub-channels within the scope of the primary channel. This will allow us to better distribute the load amongst available CPUs. Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 5a3df5a47c8f..54733d5b503e 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -699,6 +699,7 @@ struct vmbus_channel {
/*
* State to manage the CPU affiliation of channels.
*/
+ struct cpumask alloced_cpus_in_node;
int numa_node;
/*
* Support for sub-channels. For high performance devices,