summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_snapshot.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@exchange.microsoft.com>2016-09-02 05:58:23 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-02 17:22:51 +0200
commit509879bdb30b8e12bd0b3cb0bc8429f01478df4b (patch)
treea2e9e25f47bec693795bd9493bdcce91bd61e38f /drivers/hv/hv_snapshot.c
parentbb08d431a914984dee278e0e0482a2e6d620a482 (diff)
downloadlinux-509879bdb30b8e12bd0b3cb0bc8429f01478df4b.tar.bz2
Drivers: hv: Introduce a policy for controlling channel affinity
Introduce a mechanism to control how channels will be affinitized. We will support two policies: 1. HV_BALANCED: All performance critical channels will be dstributed evenly amongst all the available NUMA nodes. Once the Node is assigned, we will assign the CPU based on a simple round robin scheme. 2. HV_LOCALIZED: Only the primary channels are distributed across all NUMA nodes. Sub-channels will be in the same NUMA node as the primary channel. This is the current behaviour. The default policy will be the HV_BALANCED as it can minimize the remote memory access on NUMA machines with applications that span NUMA nodes. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_snapshot.c')
0 files changed, 0 insertions, 0 deletions