Searched hist:fd27b1835e7079d26809cd4d33ba98f84e593766 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | diff fd27b1835e7079d26809cd4d33ba98f84e593766 Fri Mar 13 20:39:32 CDT 2020 Andrii Nakryiko <andriin@fb.com> selftests/bpf: Reset process and thread affinity after each test/sub-test
Some tests and sub-tests are setting "custom" thread/process affinity and don't reset it back. Instead of requiring each test to undo all this, ensure that thread affinity is restored by test_progs test runner itself.
Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200314013932.4035712-3-andriin@fb.com
|
H A D | test_progs.c | diff fd27b1835e7079d26809cd4d33ba98f84e593766 Fri Mar 13 20:39:32 CDT 2020 Andrii Nakryiko <andriin@fb.com> selftests/bpf: Reset process and thread affinity after each test/sub-test
Some tests and sub-tests are setting "custom" thread/process affinity and don't reset it back. Instead of requiring each test to undo all this, ensure that thread affinity is restored by test_progs test runner itself.
Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200314013932.4035712-3-andriin@fb.com
|