1
0

topo_other.go 334 B

12345678910
  1. //go:build !linux
  2. package cpupick
  3. // readTopology has no sysfs to consult off Linux; the flat stand-in makes
  4. // arrange's NUMA and SMT rules no-ops. Default is already nil off Linux
  5. // (util.AllowedCPUs has no answer there) — this keeps the package compiling.
  6. func readTopology(cpus []int) topology {
  7. return flatTopology(cpus)
  8. }