aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2021-03-30 00:43:11 +0200
committerAlexei Starovoitov <[email protected]>2021-03-30 09:24:39 -0700
commit0464b1ed07677f869005bde3fade1580b48de67e (patch)
tree8c3636ede219c2438a74b214724ecb0bf05b6890 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent9445f8c765838edf84dd0d3910ff309bdab8f95f (diff)
selftests: xsk: Remove sync_mutex_tx and atomic var
Although thread_common_ops() are called in both Tx and Rx threads, testapp_validate() will not spawn Tx thread until Rx thread signals that it has finished its initialization via condition variable. Therefore, locking in thread_common_ops is not needed and furthermore Tx thread does not have to spin on atomic variable. Note that this simplification wouldn't be possible if there would still be a common worker thread. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions