Merge "hardware: Add TODO to remove '(un)pin_cpu_with_siblings'"

This commit is contained in:
Zuul 2021-09-11 09:15:52 +00:00 committed by Gerrit Code Review
commit a027b45e46
1 changed files with 2 additions and 0 deletions

View File

@ -2366,6 +2366,8 @@ def numa_usage_from_instance_numa(host_topology, instance_topology,
if instance_cell.cpuset_reserved:
pinned_cpus |= instance_cell.cpuset_reserved
# TODO(stephenfin): Remove the '_with_siblings' variants when we
# drop support for 'vcpu_pin_set' since they will then be no-ops
if free:
if (instance_cell.cpu_thread_policy ==
fields.CPUThreadAllocationPolicy.ISOLATE):