k3s/pkg/kubelet/cm/cpumanager
Arik Hadas c3a533e5b2 Cleanup in topology.go
1. Find the minimal thread number within a core using a
single loop rather than by sorting the thread numbers.

2. Inline getUniqueCoreID#err and Discover#numCPUs variables.

3. Narrow the scope of Discover#coreID and Discover#err variables.

Signed-off-by: Arik Hadas <ahadas@redhat.com>
2019-02-14 16:55:37 +02:00
..
state Move from glog to klog 2018-11-10 07:50:31 -05:00
topology Cleanup in topology.go 2019-02-14 16:55:37 +02:00
BUILD Move from glog to klog 2018-11-10 07:50:31 -05:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
cpu_assignment.go Move from glog to klog 2018-11-10 07:50:31 -05:00
cpu_assignment_test.go
cpu_manager.go clean containers in reconcileState of cpuManager 2019-01-15 16:09:28 +08:00
cpu_manager_test.go cpumanager: rollback state if updateContainerCPUSet failed 2018-08-17 18:08:58 +08:00
fake_cpu_manager.go Move from glog to klog 2018-11-10 07:50:31 -05:00
policy.go
policy_none.go Move from glog to klog 2018-11-10 07:50:31 -05:00
policy_none_test.go
policy_static.go Move from glog to klog 2018-11-10 07:50:31 -05:00
policy_static_test.go cpumanager: add test for available CPUs in static policy. 2018-07-31 10:20:37 +03:00
policy_test.go