hv_vmbus: Correct the stale comments regarding cpu affinity
The comments doesn't match what the current code does, also have a typo. This patch corrects them. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aba8a53264
commit
ce767047b1
|
@ -596,10 +596,8 @@ static int next_numa_node_id;
|
||||||
/*
|
/*
|
||||||
* Starting with Win8, we can statically distribute the incoming
|
* Starting with Win8, we can statically distribute the incoming
|
||||||
* channel interrupt load by binding a channel to VCPU.
|
* channel interrupt load by binding a channel to VCPU.
|
||||||
* We do this in a hierarchical fashion:
|
* We distribute the interrupt loads to one or more NUMA nodes based on
|
||||||
* First distribute the primary channels across available NUMA nodes
|
* the channel's affinity_policy.
|
||||||
* and then distribute the subchannels amongst the CPUs in the NUMA
|
|
||||||
* node assigned to the primary channel.
|
|
||||||
*
|
*
|
||||||
* For pre-win8 hosts or non-performance critical channels we assign the
|
* For pre-win8 hosts or non-performance critical channels we assign the
|
||||||
* first CPU in the first NUMA node.
|
* first CPU in the first NUMA node.
|
||||||
|
|
|
@ -844,7 +844,7 @@ struct vmbus_channel {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NUMA distribution policy:
|
* NUMA distribution policy:
|
||||||
* We support teo policies:
|
* We support two policies:
|
||||||
* 1) Balanced: Here all performance critical channels are
|
* 1) Balanced: Here all performance critical channels are
|
||||||
* distributed evenly amongst all the NUMA nodes.
|
* distributed evenly amongst all the NUMA nodes.
|
||||||
* This policy will be the default policy.
|
* This policy will be the default policy.
|
||||||
|
|
Loading…
Reference in New Issue