mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-16 21:56:52 +01:00
cpupick: Move AvoidCPUs from util into cpupick as Avoid
This commit is contained in:
1 parent
73d26dd87d
commit
36579bae03
6 files changed
+35
-29
No files matched your search
@@ -16,6 +16,10 @@
|
||||
// across distinct physical cores when the topology permits, CPU 0's physical
|
||||
// core demoted to last resort, and the order rotated by a stable per-instance
|
||||
// key so co-located instances spread instead of stacking.
|
||||
//
|
||||
// Avoid narrows the process-wide allowed set before any of that happens
|
||||
// (tun.avoid_cpus), so Default and tun.cpu_affinity validation only ever see
|
||||
// the CPUs left over.
|
||||
package cpupick
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user