diff options
author | Ilpo Järvinen <[email protected]> | 2023-12-15 17:05:09 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-02-13 13:56:45 -0700 |
commit | 6c8cb747d071cf72c2930e09bb20ab3eabfe62ff (patch) | |
tree | f8d901c3a8c414569a524e033c606830ae17d00d /net/lapb/lapb_subr.c | |
parent | 205de6ddd7fff9340bd5e4b68105f28120671c6b (diff) |
selftests/resctrl: Restore the CPU affinity after CAT test
CAT test does not reset the CPU affinity after the benchmark.
This is relatively harmless as is because CAT test is the last
benchmark to run, however, more tests may be added later.
Store the CPU affinity the first time taskset_benchmark() is run and
add taskset_restore() which the test can call to reset the CPU mask to
its original value.
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions