mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 21:07:36 +02:00
scoot pinning around
This commit is contained in:
11
util/cpupin_other.go
Normal file
11
util/cpupin_other.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !linux || android || e2e_testing
|
||||
|
||||
package util
|
||||
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user