Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release CPUs reminders #475

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Release CPUs reminders #475

merged 1 commit into from
Jun 23, 2022

Commits on Jun 20, 2022

  1. core: release CPUs

    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>
    liranr23 committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    f1ead12 View commit details
    Browse the repository at this point in the history