Files
nebula/cpupin_other.go
2026-05-11 11:32:57 -05:00

12 lines
340 B
Go

//go:build !linux || android || e2e_testing
package nebula
// pinThreadToCPU is a no-op outside Linux: only Linux exposes a stable
// per-thread CPU affinity API and only Linux has XPS-driven TX ring
// selection in the first place. On every other platform there's nothing
// to fix here.
func pinThreadToCPU(_ int) error {
return nil
}