-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we allocate CPUs we rely on the list we return back. This is correct for the scheduling phase. But now we run the same logic on canSchedule. There, when having a group of VMs, we use the cpuTopology list, not the list we selected to allocate. The overtaken CPU remained pinned and that harmed the canSchedule logic for VM groups. When grouping the VMs, when the group is having an affinity set, it is reordered. Therefore, it is required to sort them. Change-Id: Idcae90fed953c4798f2c4bf8893bff0a1b7086ea Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters