• Arik Hadas's avatar
    kubelet/cm: code optimization for the static policy · 26e1c1ce
    Arik Hadas authored
    Minor optimization in the code that attempts to assign whole
    sockets/cores in case the number of CPUs requested is higher
    than CPUs-per-socket/core: check if the number of requested
    CPUs is higher than CPUs-per-socket/core before retrieving
    and iterating the free sockets/cores, and break the loops
    when that is no longer the case.
    Signed-off-by: 's avatarArik Hadas <ahadas@redhat.com>
    26e1c1ce
Name
Last commit
Last update
..
state Loading commit data...
topology Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
cpu_assignment.go Loading commit data...
cpu_assignment_test.go Loading commit data...
cpu_manager.go Loading commit data...
cpu_manager_test.go Loading commit data...
fake_cpu_manager.go Loading commit data...
policy.go Loading commit data...
policy_none.go Loading commit data...
policy_none_test.go Loading commit data...
policy_static.go Loading commit data...
policy_static_test.go Loading commit data...
policy_test.go Loading commit data...