mmcloughlin / goperf

Continuous Benchmarking for the Go compiler
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

pkg/shield: handle incomplete shutdown #35

Open mmcloughlin opened 4 years ago

mmcloughlin commented 4 years ago

If a worker process doesn't shut down cleanly, the sys and shield cpusets can be left around. This causes any subsequent attempts to setup a CPU shield to fail.

The shield logic could be made to handle the case where the cpusets already exist.