diff options
| author | Srinivas Pandruvada <[email protected]> | 2023-01-24 18:39:53 +0000 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2023-10-24 05:38:09 +0000 |
| commit | 37f68a2940558b4f6f8e51b7b1d00f084b4bdde2 (patch) | |
| tree | e40f00140952902da7a7c36e8d4dd124f62eb6a6 /net/unix/unix_bpf.c | |
| parent | tools/power/turbostat: Handle cgroup v2 cpu limitation (diff) | |
| download | kernel-37f68a2940558b4f6f8e51b7b1d00f084b4bdde2.tar.gz kernel-37f68a2940558b4f6f8e51b7b1d00f084b4bdde2.zip | |
tools/power/turbostat: Move process to root cgroup
When available CPUs are reduced via cgroup cpuset controller, turbostat
will exit with errors (For example):
get_counters: Could not migrate to CPU 0
turbostat: re-initialized with num_cpus 20
get_counters: Could not migrate to CPU 0
turbostat: re-initialized with num_cpus 20
Move the turbostat to root cgroup, which has every CPU.
Writing the value 0 to a cgroup.procs file causes the writing
process to be moved to the corresponding cgroup.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Tested-by: Zhang Rui <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
