mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 12:36:58 +02:00
11 lines
334 B
Go
11 lines
334 B
Go
//go:build !linux
|
|
|
|
package cpupick
|
|
|
|
// readTopology has no sysfs to consult off Linux; the flat stand-in makes
|
|
// arrange's NUMA and SMT rules no-ops. Default is already nil off Linux
|
|
// (util.AllowedCPUs has no answer there) — this keeps the package compiling.
|
|
func readTopology(cpus []int) topology {
|
|
return flatTopology(cpus)
|
|
}
|