Skip to content

Commit a027b45

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "hardware: Add TODO to remove '(un)pin_cpu_with_siblings'"
2 parents 497b2c5 + 4ccec62 commit a027b45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nova/virt/hardware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,6 +2366,8 @@ def numa_usage_from_instance_numa(host_topology, instance_topology,
23662366
if instance_cell.cpuset_reserved:
23672367
pinned_cpus |= instance_cell.cpuset_reserved
23682368

2369+
# TODO(stephenfin): Remove the '_with_siblings' variants when we
2370+
# drop support for 'vcpu_pin_set' since they will then be no-ops
23692371
if free:
23702372
if (instance_cell.cpu_thread_policy ==
23712373
fields.CPUThreadAllocationPolicy.ISOLATE):

0 commit comments

Comments
 (0)